aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-05-03 02:05:15 +0000
committerYao Qi <yao@codesourcery.com>2012-05-03 02:05:15 +0000
commit2d4e03767f097cc306d9fbba613f8a8f4328b4ae (patch)
tree49745c1708a1122d3a4d31eb229488e1609daf0c /gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
parent6d0bb9f3db022411035cf5c74cc44cb6a6e6d07a (diff)
downloadgdb-2d4e03767f097cc306d9fbba613f8a8f4328b4ae.zip
gdb-2d4e03767f097cc306d9fbba613f8a8f4328b4ae.tar.gz
gdb-2d4e03767f097cc306d9fbba613f8a8f4328b4ae.tar.bz2
gdb/testsuite:
* gdb.base/catch-syscall.exp: Skip it before compilation if target doesn't support. * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.multi/bkpt-multi-exec.exp')
-rw-r--r--gdb/testsuite/gdb.multi/bkpt-multi-exec.exp11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp b/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
index 9705cc8..3893a79 100644
--- a/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
+++ b/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
@@ -17,6 +17,12 @@ if { [is_remote target] || ![isnative] } then {
continue
}
+# Until "catch exec" is implemented on other targets...
+#
+if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then {
+ continue
+}
+
set testfile "bkpt-multi-exec"
set exec1 "bkpt-multi-exec"
@@ -34,11 +40,6 @@ if { [prepare_for_testing ${testfile}.exp ${exec1} "${srcfile1}" {debug nowarnin
if { [prepare_for_testing ${testfile}.exp ${exec2} "${srcfile2}" {debug nowarnings}] } {
return -1
}
-# Until "catch exec" is implemented on other targets...
-#
-if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then {
- continue
-}
# Start with a fresh gdb