diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-12-07 03:00:00 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-12-07 03:00:00 +0000 |
commit | ae2b630d4ef1d87632371c0fc75e3cbb7caf4750 (patch) | |
tree | e6ad60adfbf3facf5e216c09b752487321005204 | |
parent | 2cb50f9d6a4b947f2d6ec42ea48d890a4aa9ce78 (diff) | |
download | fsf-binutils-gdb-ae2b630d4ef1d87632371c0fc75e3cbb7caf4750.zip fsf-binutils-gdb-ae2b630d4ef1d87632371c0fc75e3cbb7caf4750.tar.gz fsf-binutils-gdb-ae2b630d4ef1d87632371c0fc75e3cbb7caf4750.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/lang_switch.exp | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 335ecff..d440f85 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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> diff --git a/gdb/testsuite/gdb.ada/lang_switch.exp b/gdb/testsuite/gdb.ada/lang_switch.exp index 6ee4c23..a217d2e 100644 --- a/gdb/testsuite/gdb.ada/lang_switch.exp +++ b/gdb/testsuite/gdb.ada/lang_switch.exp @@ -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" |