aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 05a6747..db56e21 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-01 Mark Kettenis <kettenis@gnu.org>
+
+ * gdb.asm/asm-source.exp: Check for memory read errors in
+ disassembler test on *BSD too.
+
2003-06-01 Richard Henderson <rth@redhat.com>
* gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
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).