From: Mark Kettenis Date: Sun, 1 Jun 2003 11:37:34 +0000 (+0000) Subject: * gdb.asm/asm-source.exp: Check for memory read errors in X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=572eb7469660c4dc6744d855c42b6e4f29f9d5da;p=binutils-gdb.git * gdb.asm/asm-source.exp: Check for memory read errors in disassembler test on *BSD too. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 05a67473574..db56e2191cd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-06-01 Mark Kettenis + + * gdb.asm/asm-source.exp: Check for memory read errors in + disassembler test on *BSD too. + 2003-06-01 Richard Henderson * 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 ea6dd8b7297..9fbe0da0f7e 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).