* gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
read at address 0. This fixes PR testsuite/1504.
This commit is contained in:
parent
da6012e52d
commit
52470da313
|
@ -1,3 +1,8 @@
|
||||||
|
2004-01-18 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
|
||||||
|
read at address 0. This fixes PR testsuite/1504.
|
||||||
|
|
||||||
2004-01-18 Daniel Jacobowitz <drow@mvista.com>
|
2004-01-18 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
|
* config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
|
||||||
|
|
|
@ -56,6 +56,7 @@ if ![runto_main] then {
|
||||||
|
|
||||||
send_gdb "x 0\n"
|
send_gdb "x 0\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
|
-re "0x0:.*Cannot access memory at address 0x0.*$gdb_prompt $" { }
|
||||||
-re "0x0:.*Error accessing memory address 0x0.*$gdb_prompt $" { }
|
-re "0x0:.*Error accessing memory address 0x0.*$gdb_prompt $" { }
|
||||||
-re ".*$gdb_prompt $" {
|
-re ".*$gdb_prompt $" {
|
||||||
untested "Memory at address 0 is possibly executable"
|
untested "Memory at address 0 is possibly executable"
|
||||||
|
|
Loading…
Reference in New Issue