From 274bcba01c822e0016bde9142d4f5387cd51f478 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 23 Sep 2003 19:19:48 +0000 Subject: [PATCH] 2003-09-23 Elena Zannoni * gdb.base/selftest.exp: Accomodate more instruction reordering weirdness. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/selftest.exp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 347f146a58c..4f00dc2af3a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-09-23 Elena Zannoni + + * gdb.base/selftest.exp: Accomodate more instruction reordering + weirdness. + 2003-09-17 Michael Chastain * gdb.cp/gdb1355.exp: New file. diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp index 9e1d4ddfb60..442adb92ec1 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" -- 2.30.2