diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-04-29 15:48:46 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-04-29 15:48:46 +0000 |
commit | db9d7fc5700c1d43dedab26517cf43c30907b75f (patch) | |
tree | 415c398341d2093426f1bef87acb8ad2088e7648 /gdb/testsuite | |
parent | 81c4a259cde3366e6e8548c6067711ed15735d27 (diff) | |
download | gdb-db9d7fc5700c1d43dedab26517cf43c30907b75f.zip gdb-db9d7fc5700c1d43dedab26517cf43c30907b75f.tar.gz gdb-db9d7fc5700c1d43dedab26517cf43c30907b75f.tar.bz2 |
* gdb.base/auxv.exp (core_works): Also check is_remote.
* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/auxv.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/checkpoint.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/multi-forks.exp | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d918e22..af0221b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-04-29 Markus Deuling <deuling@de.ibm.com> + Daniel Jacobowitz <dan@codesourcery.com> + + * gdb.base/auxv.exp (core_works): Also check is_remote. + * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise. + 2007-04-25 Vladimir Prus <vladimir@codesourcery.com> * gdb.base/sigaltstack.exp: Use 'srcfile' in error diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp index c90d7ed..5267de2 100644 --- a/gdb/testsuite/gdb.base/auxv.exp +++ b/gdb/testsuite/gdb.base/auxv.exp @@ -50,7 +50,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb # Make it the working directory for gdb and its child. set coredir "${objdir}/${subdir}/coredir.[getpid]" file mkdir $coredir -set core_works [isnative] +set core_works [expr [isnative] && ! [is_remote target]] # Run GDB on the test program up to where it will dump core. diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index 297e254..079dcda 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -21,7 +21,7 @@ if $tracelevel then { strace $tracelevel } -if { ![isnative] } then { +if { [is_remote target] || ![isnative] } then { continue } diff --git a/gdb/testsuite/gdb.base/multi-forks.exp b/gdb/testsuite/gdb.base/multi-forks.exp index 0c1c7de..0b190e1 100644 --- a/gdb/testsuite/gdb.base/multi-forks.exp +++ b/gdb/testsuite/gdb.base/multi-forks.exp @@ -18,7 +18,7 @@ if $tracelevel then { strace $tracelevel } -if { ![isnative] } then { +if { [is_remote target] || ![isnative] } then { continue } |