* gdb.asm/asm-source.exp: Check for memory read errors in

disassembler test on *BSD too.
This commit is contained in:
Mark Kettenis 2003-06-01 11:37:34 +00:00
parent 2473a4a982
commit 572eb74696
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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).