aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs3.exp
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2012-11-14 19:10:33 +0000
committerLuis Machado <luisgpm@br.ibm.com>2012-11-14 19:10:33 +0000
commit5e487a5f921f33afe780015a9e732abe925dc4dc (patch)
tree52ea8b815c6a4dd4107eb4bbfb3d1c7dd2eb8439 /gdb/testsuite/gdb.base/structs3.exp
parentd3da77419a529a0af2c3e5109bebed65752bc52f (diff)
downloadgdb-5e487a5f921f33afe780015a9e732abe925dc4dc.zip
gdb-5e487a5f921f33afe780015a9e732abe925dc4dc.tar.gz
gdb-5e487a5f921f33afe780015a9e732abe925dc4dc.tar.bz2
2012-11-14 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/structs3.exp: Run to main before doing any tests.
Diffstat (limited to 'gdb/testsuite/gdb.base/structs3.exp')
-rw-r--r--gdb/testsuite/gdb.base/structs3.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/structs3.exp b/gdb/testsuite/gdb.base/structs3.exp
index 60a7ca6..4481d0b 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.