From cdb4ea7d663ca7eab453f31a45f6fae068753803 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 4 Dec 2012 16:04:26 +0400 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/gdb.ada/lang_switch.exp | 5 ++--- 1 file 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" -- 1.7.10.4