mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
Fix FAIL: gdb.ada/small_reg_param.exp: continue to call_me
If enough information is provided by the compiler, the debugger
now prints the entry value of various parameters:
(gdb) continue
Continuing.
Breakpoint 2, pck.call_me (w=w@entry=50) at [...]
20 Last_Word := W;
This patch adjusts the expected output to allow an optional
"w@entry=" in the parameter value.
gdb/testsuite/ChangeLog:
* gdb.ada/small_reg_param.exp: Accept optional entry value
for parameter "w".
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2013-07-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* gdb.ada/small_reg_param.exp: Accept optional entry value
|
||||
for parameter "w".
|
||||
|
||||
2013-07-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* gdb.ada/small_reg_param.exp: Remove trailing space.
|
||||
|
||||
@@ -33,7 +33,7 @@ gdb_breakpoint "call_me"
|
||||
# Continue until we hit the breakpoint inside `Call_Me'. We verify
|
||||
# that the parameter value is correct.
|
||||
gdb_test "continue" \
|
||||
"Breakpoint .*, pck\\.call_me \\(w=50\\) at .*/pck.adb:.*" \
|
||||
"Breakpoint .*, pck\\.call_me \\(w=(w@entry=)?50\\) at .*/pck.adb:.*" \
|
||||
"continue to call_me"
|
||||
|
||||
# And just to make sure, we also verify that the parameter value
|
||||
|
||||
Reference in New Issue
Block a user