disassembler test on *BSD too.
+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
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).