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:
Joel Brobecker 2012-12-07 03:00:00 +00:00
parent 2cb50f9d6a
commit ae2b630d4e
2 changed files with 6 additions and 3 deletions

View File

@ -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>

View File

@ -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"