aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/step-bt.exp
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/testsuite/gdb.base/step-bt.exp
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/testsuite/gdb.base/step-bt.exp')
-rw-r--r--gdb/testsuite/gdb.base/step-bt.exp4
1 files changed, 2 insertions, 2 deletions
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"