diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-08-10 13:05:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-08-10 13:05:18 +0000 |
commit | 089ec8f1acb48082ef846d0716bb5e6d42026956 (patch) | |
tree | 2f573127055c0ec0c6a85f5a4793d64fdbab4a4d /gdb/testsuite/gdb.base/step-bt.exp | |
parent | b60f089831eca7b76afeb3c1d95369f8abcdcc98 (diff) | |
download | gdb-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.exp | 4 |
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" |