From: carlton Date: Wed, 15 Jan 2003 17:32:41 +0000 (+0000) Subject: 2003-01-15 David Carlton X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1487ee8f099f2d6bc84c594c0957c1c3fffb192b;p=pf3gnuchains%2Fsourceware.git 2003-01-15 David Carlton * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9fd8c3625b..bf815a0853 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-01-15 David Carlton + + * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot. + 2003-01-15 Elena Zannoni * gdb.base/break.exp: Move the tests of until command from here... diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp index bf71c49cba..5d9419ed29 100644 --- a/gdb/testsuite/gdb.base/selftest.exp +++ b/gdb/testsuite/gdb.base/selftest.exp @@ -170,6 +170,12 @@ proc do_steps_and_nexts {} { set description "step over current_directory initialization" set command "step" } + -re ".*gdb_sysroot = .*$gdb_prompt $" { + # NOTE: carlton/2003-01-15: More optimization reordering, + # observed on GCC 3.1. + set description "step over gdb_sysroot initialization" + set command "step" + } -re "\[ \t\]+\{\r\n$gdb_prompt $" { setup_xfail "mips-*-irix5*" fail "$description ended up at odd location"