gdb.ada/lang_switch: Allow msg parameter to be a reference.
gdb/testsuite/ChangeLog: * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
This commit is contained in:
parent
2cb50f9d6a
commit
ae2b630d4e
|
@ -1,3 +1,7 @@
|
|||
2012-12-07 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
|
||||
|
||||
2012-12-06 Pedro Alves <palves@redhat.com>
|
||||
Tom Tromey <tromey@redhat.com>
|
||||
|
||||
|
|
|
@ -42,6 +42,5 @@ gdb_test "bt" \
|
|||
# if the current language is not "auto".
|
||||
gdb_test "set lang c"
|
||||
gdb_test "bt" \
|
||||
".*#1.*lang_switch\\.ada_procedure\\s*\\(msg={.*\\).*" \
|
||||
"backtrace"
|
||||
|
||||
".*#1.*lang_switch\\.ada_procedure\\s*\\(msg=(@$hex: +)?{.*\\).*" \
|
||||
"backtrace with lang set to C"
|
||||
|
|
Loading…
Reference in New Issue