From: Luis Machado Date: Wed, 14 Nov 2012 19:10:33 +0000 (+0000) Subject: 2012-11-14 Luis Machado X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e487a5f921f33afe780015a9e732abe925dc4dc;p=binutils-gdb.git 2012-11-14 Luis Machado * gdb.base/structs3.exp: Run to main before doing any tests. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index add8d1904b7..3d52b979634 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-11-14 Luis Machado + + * gdb.base/structs3.exp: Run to main before doing any tests. + 2012-11-14 Andrew Burgess * gdb.python/py-type.exp: Uniquify test names. diff --git a/gdb/testsuite/gdb.base/structs3.exp b/gdb/testsuite/gdb.base/structs3.exp index 60a7ca6549d..4481d0b7bf7 100644 --- a/gdb/testsuite/gdb.base/structs3.exp +++ b/gdb/testsuite/gdb.base/structs3.exp @@ -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.