* gdb.base/auxv.exp (core_works): Also check is_remote.
authorDaniel Jacobowitz <drow@false.org>
Sun, 29 Apr 2007 15:48:46 +0000 (15:48 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 29 Apr 2007 15:48:46 +0000 (15:48 +0000)
* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/auxv.exp
gdb/testsuite/gdb.base/checkpoint.exp
gdb/testsuite/gdb.base/multi-forks.exp

index d918e221d163155623d24533d2b5b6f36ccda4b8..af0221b8255f6fb6a1eebe9c5b63063f1120f9b2 100644 (file)
@@ -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
index c90d7ed4e4089c5272f73510c3d51fb6aa7f6023..5267de29ff3f83e3b018a1abc400e5183f817d7d 100644 (file)
@@ -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.
 
index 297e254e9f490e2f60553d2a74a2695cf95b94a9..079dcdaa2a7edea2fe4d8355700376968f203808 100644 (file)
@@ -21,7 +21,7 @@ if $tracelevel then {
        strace $tracelevel
        }
 
-if { ![isnative] } then {
+if { [is_remote target] || ![isnative] } then {
     continue
 }
 
index 0c1c7de720f5569644b572a82fede11a45b830b9..0b190e1820b349a3a40f00ff9d4f67d2383db8d1 100644 (file)
@@ -18,7 +18,7 @@ if $tracelevel then {
        strace $tracelevel
        }
 
-if { ![isnative] } then {
+if { [is_remote target] || ![isnative] } then {
     continue
 }
 
This page took 0.068454 seconds and 4 git commands to generate.