From ae2b630d4ef1d87632371c0fc75e3cbb7caf4750 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 7 Dec 2012 03:00:00 +0000 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 4 ++++ 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 335ecff6149..d440f85712f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-12-07 Joel Brobecker + + * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference. + 2012-12-06 Pedro Alves Tom Tromey 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" -- 2.30.2