From 5b570b75fb5c89f621b0dafcd62025260bd179f0 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 1 Jun 2003 11:37:34 +0000 Subject: * gdb.asm/asm-source.exp: Check for memory read errors in disassembler test on *BSD too. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.asm/asm-source.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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). -- cgit v1.2.1