mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 05:54:26 +08:00
* gdb.asm/asm-source.exp: Check for memory read errors in
disassembler test on *BSD too.
This commit is contained in:
parent
2473a4a982
commit
572eb74696
@ -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
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user