2012-11-14 Luis Machado <lgustavo@codesourcery.com>
authorLuis Machado <luisgpm@br.ibm.com>
Wed, 14 Nov 2012 19:10:33 +0000 (19:10 +0000)
committerLuis Machado <luisgpm@br.ibm.com>
Wed, 14 Nov 2012 19:10:33 +0000 (19:10 +0000)
* gdb.base/structs3.exp: Run to main before doing any tests.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/structs3.exp

index add8d1904b7124351c8137cdb3894260dbd7340f..3d52b9796347a665d44b4a05430d050789c13248 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-14  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.base/structs3.exp: Run to main before doing any tests.
+
 2012-11-14  Andrew Burgess  <aburgess@broadcom.com>
 
        * gdb.python/py-type.exp: Uniquify test names.
index 60a7ca6549d1b3551180400fc36b65c57a929dfc..4481d0b7bf794c7f775a17851689f702be8f1db8 100644 (file)
@@ -23,6 +23,11 @@ if { [prepare_for_testing structs3.exp "structs3" "" {debug}] } {
     return -1
 }
 
+if ![runto_main] {
+    untested "could not run to main"
+    return -1
+}
+
 set vhn "\\$\[0-9\]+"
 
 # Check the real contents.