2003-01-15 David Carlton <carlton@math.stanford.edu>
authorDavid Carlton <carlton@bactrian.org>
Wed, 15 Jan 2003 17:32:41 +0000 (17:32 +0000)
committerDavid Carlton <carlton@bactrian.org>
Wed, 15 Jan 2003 17:32:41 +0000 (17:32 +0000)
* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/selftest.exp

index 9fd8c3625b89452f51d67b107a744e263eff1e26..bf815a0853d6bedd10781642474d38406d9f74ab 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-15  David Carlton  <carlton@math.stanford.edu>
+
+       * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
+
 2003-01-15  Elena Zannoni  <ezannoni@redhat.com>
 
        * gdb.base/break.exp: Move the tests of until command from here...
index bf71c49cbae0b1af0357baf29aba7d9891c3e502..5d9419ed29862aa52aa921ff7196826e9efce0b5 100644 (file)
@@ -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"