From: Daniel Jacobowitz Date: Thu, 10 Aug 2006 13:05:18 +0000 (+0000) Subject: * gdb.base/step-bt.exp: Make hexadecimal address optional in X-Git-Tag: gdb_6_6-2006-11-15-branchpoint~671 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=089ec8f1acb48082ef846d0716bb5e6d42026956;p=thirdparty%2Fbinutils-gdb.git * gdb.base/step-bt.exp: Make hexadecimal address optional in expected output of the backtrace commands. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 73a0d8cae7e..0c4de89b130 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-08-10 Joel Brobecker + Daniel Jacobowitz + + * gdb.base/step-bt.exp: Make hexadecimal address optional in + expected output of the backtrace commands. + 2006-08-09 Joel Brobecker * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with diff --git a/gdb/testsuite/gdb.base/step-bt.exp b/gdb/testsuite/gdb.base/step-bt.exp index f2cad967964..63e223deb9b 100644 --- a/gdb/testsuite/gdb.base/step-bt.exp +++ b/gdb/testsuite/gdb.base/step-bt.exp @@ -63,7 +63,7 @@ gdb_test "stepi" \ "step first instruction" gdb_test "bt" \ - "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \ + "#0 +(0x\[0-9a-z\]+ in )?hello .*#1 +(0x\[0-9a-z\]* in )?main.*" \ "backtrace after first instruction step" gdb_test "stepi" \ @@ -71,6 +71,6 @@ gdb_test "stepi" \ "step second instruction" gdb_test "bt" \ - "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \ + "#0 +(0x\[0-9a-z\]+ in )?hello .*#1 +(0x\[0-9a-z\]* in )?main.*" \ "backtrace after second instruction step"