aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-09-23 19:19:48 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-09-23 19:19:48 +0000
commit274bcba01c822e0016bde9142d4f5387cd51f478 (patch)
tree55f80c1801923a316d15b07b6dc6ed40c6742b89 /gdb/testsuite/gdb.base
parent8c2957c400a0b5564d7480e7f5cdd6453f1128c2 (diff)
downloadgdb-274bcba01c822e0016bde9142d4f5387cd51f478.zip
gdb-274bcba01c822e0016bde9142d4f5387cd51f478.tar.gz
gdb-274bcba01c822e0016bde9142d4f5387cd51f478.tar.bz2
2003-09-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/selftest.exp: Accomodate more instruction reordering weirdness.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/selftest.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp
index 9e1d4dd..442adb9 100644
--- a/gdb/testsuite/gdb.base/selftest.exp
+++ b/gdb/testsuite/gdb.base/selftest.exp
@@ -342,6 +342,11 @@ proc test_with_self { executable } {
send_gdb "step\n"
exp_continue
}
+ -re ".*cmdarg = .* xmalloc.*$gdb_prompt $" {
+ set stepped_back 1
+ send_gdb "step\n"
+ exp_continue
+ }
-re "dirsize = 1;.*$gdb_prompt $" {
set stepped_back 1
send_gdb "step\n"