aboutsummaryrefslogtreecommitdiff
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
commitae2b630d4ef1d87632371c0fc75e3cbb7caf4750 (patch)
treee6ad60adfbf3facf5e216c09b752487321005204 /gdb/testsuite/gdb.ada
parent2cb50f9d6a4b947f2d6ec42ea48d890a4aa9ce78 (diff)
downloadgdb-ae2b630d4ef1d87632371c0fc75e3cbb7caf4750.zip
gdb-ae2b630d4ef1d87632371c0fc75e3cbb7caf4750.tar.gz
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.
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 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"