aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-08-10 13:05:18 +0000
committerDaniel Jacobowitz <drow@false.org>2006-08-10 13:05:18 +0000
commit089ec8f1acb48082ef846d0716bb5e6d42026956 (patch)
tree2f573127055c0ec0c6a85f5a4793d64fdbab4a4d /gdb
parentb60f089831eca7b76afeb3c1d95369f8abcdcc98 (diff)
downloadgdb-089ec8f1acb48082ef846d0716bb5e6d42026956.zip
gdb-089ec8f1acb48082ef846d0716bb5e6d42026956.tar.gz
gdb-089ec8f1acb48082ef846d0716bb5e6d42026956.tar.bz2
* gdb.base/step-bt.exp: Make hexadecimal address optional in
expected output of the backtrace commands.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/step-bt.exp4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 73a0d8c..0c4de89 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-10 Joel Brobecker <brobecker@adacore.com>
+ Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdb.base/step-bt.exp: Make hexadecimal address optional in
+ expected output of the backtrace commands.
+
2006-08-09 Joel Brobecker <brobecker@adacore.com>
* 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 f2cad96..63e223d 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"