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 | dbd6b93e83c0d9ffdf744e6232bbd73d6f6610e6 (patch) | |
tree | c98da1bf326851334cce76d6bf8a4553ac3652d6 /gdb/testsuite/gdb.ada | |
parent | b94b995b76717d6f105938fdbc311d2fe2317511 (diff) | |
download | gdb-dbd6b93e83c0d9ffdf744e6232bbd73d6f6610e6.tar.gz |
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.
Diffstat (limited to 'gdb/testsuite/gdb.ada')
-rw-r--r-- | gdb/testsuite/gdb.ada/lang_switch.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.ada/lang_switch.exp b/gdb/testsuite/gdb.ada/lang_switch.exp index 6ee4c238a86..a217d2e6e3e 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" |