aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-06-01 11:37:34 +0000
committerMark Kettenis <kettenis@gnu.org>2003-06-01 11:37:34 +0000
commit572eb7469660c4dc6744d855c42b6e4f29f9d5da (patch)
treebe1ac850fcf699bb2ea28907f7d24db23bb59c4b /gdb/testsuite/gdb.asm
parent2473a4a98206b481e178aa7ef555501b29b1fb0a (diff)
downloadgdb-572eb7469660c4dc6744d855c42b6e4f29f9d5da.zip
gdb-572eb7469660c4dc6744d855c42b6e4f29f9d5da.tar.gz
gdb-572eb7469660c4dc6744d855c42b6e4f29f9d5da.tar.bz2
* gdb.asm/asm-source.exp: Check for memory read errors in
disassembler test on *BSD too.
Diffstat (limited to 'gdb/testsuite/gdb.asm')
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
index ea6dd8b..9fbe0da 100644
--- a/gdb/testsuite/gdb.asm/asm-source.exp
+++ b/gdb/testsuite/gdb.asm/asm-source.exp
@@ -319,7 +319,7 @@ proc test_dis { command var } {
global gdb_prompt
send_gdb "${command}\n"
gdb_expect {
- -re "${var}.*:.*Cannot access" {
+ -re "${var}.*:.*(Cannot access|Bad address)" {
# The "disassembler" was only accessing the local
# executable and that would cause attempts to disassemble
# variables to fail (memory not valid).