* gdb.base/auxv.exp (core_works): Also check is_remote.

* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
This commit is contained in:
Daniel Jacobowitz 2007-04-29 15:48:46 +00:00
parent 81c4a259cd
commit db9d7fc570
4 changed files with 9 additions and 3 deletions

View 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

View 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.

View File

@ -21,7 +21,7 @@ if $tracelevel then {
strace $tracelevel
}
if { ![isnative] } then {
if { [is_remote target] || ![isnative] } then {
continue
}

View File

@ -18,7 +18,7 @@ if $tracelevel then {
strace $tracelevel
}
if { ![isnative] } then {
if { [is_remote target] || ![isnative] } then {
continue
}