gdb/testsuite/ChangeLog:
* gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
+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>
# 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"