summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-07 03:00:00 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-07 03:00:00 +0000
commitdbd6b93e83c0d9ffdf744e6232bbd73d6f6610e6 (patch)
treec98da1bf326851334cce76d6bf8a4553ac3652d6 /gdb/testsuite/gdb.ada
parentb94b995b76717d6f105938fdbc311d2fe2317511 (diff)
downloadgdb-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.exp5
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"