remote_exec instead.
* gdb.base/corefile.exp: Don't be ridiculous.
* gdb.base/*.c: Add missing stub invocations.
Fixes failures on HP-UX.
+Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
+
+ * gdb.base/crossload.exp: Don't use execute_anywhere, use
+ remote_exec instead.
+ * gdb.base/corefile.exp: Don't be ridiculous.
+ * gdb.base/*.c: Add missing stub invocations.
+
Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
* config/slite.exp: Miscellaneous fixes.
Do-first:
-m32r_files="m32r.exp"
+m32r_files="m32r.exp m32r-stub.exp"
if ( echo $* | grep keep\-m32r > /dev/null ) ; then
keep_these_too="${m32r_files} ${keep_these_too}"
gdbserver.exp
hmsirom.exp
hppro.exp
-mips-gdb.exp
+mips.exp
+mips-idt.exp
monitor.exp
mt-a29k-udi
mt-i386-aout
mt-unix
mt-vxworks
netware.exp
-nind-gdb.exp
+nind.exp
rom68k.exp
-sim-gdb.exp
-slite-gdb.exp
-udi-gdb.exp
-unix-gdb.exp
+sim.exp
+slite.exp
+udi.exp
+unix.exp
unknown.exp
-vx-gdb.exp
+vx.exp
vxworks29k.exp
Things-to-lose:
+d10v.exp
+sparclet-old.exp
+sparclet.exp
# The lines between the "Do-last:" line and the end of the file
# are executed as a /bin/sh shell script after everything else is
definition made with 'set" to see if one already exists, and if so
warn about conflicts if it is being set to something else. */
-/* This needs to be kept in sync with whatis.c. If this proves to end up
- being hairy, we could use a common header file. */
+/* This needs to be kept in sync with whatis.c and gdb.exp(get_compiler_info).
+ If this ends up being hairy, we could use a common header file. */
#if defined (__STDC__) || defined (_AIX)
set signed_keyword_not_used 0
# the name of the program to "core".
set found 0
catch "system \"(cd ${objdir}/${subdir}; ulimit -c unlimited; ${binfile}; true) >/dev/null 2>&1\""
-# remote_exec "${binfile}"
+# remote_exec host "${binfile}"
foreach i "${objdir}/${subdir}/core ${objdir}/${subdir}/core.coremaker.c ${binfile}.core" {
if [remote_file build exists $i] {
remote_exec build "mv $i ${objdir}/${subdir}/corefile"
# The braindamaged HPUX shell quits after the ulimit -c above
# without executing ${binfile}. So we try again without the
# ulimit here if we didn't find a core file above.
+ # Oh, I should mention that any "braindamaged" non-Unix system has
+ # the same problem. I like the cd bit too, it's really neat'n stuff.
catch "system \"(cd ${objdir}/${subdir}; ${binfile}; true) >/dev/null 2>&1\""
foreach i "${objdir}/${subdir}/core ${objdir}/${subdir}/core.coremaker.c ${binfile}.core" {
- set exec_output [execute_anywhere "ls $i"]
- if [ regexp "No such file or directory|not found" ${exec_output} ] {
- continue
- } else {
- execute_anywhere "mv $i ${objdir}/${subdir}/corefile"
+ if [remote_file build exists $i] {
+ remote_exec build "mv $i ${objdir}/${subdir}/corefile"
set found 1
}
}
return
foreach i "m68k-elf m68k-aout m68k-aout2 mips-ecoff i486-elf sparc-aout i860-elf sparc-elf" {
- execute_anywhere "cd ${objdir}/${subdir} ; uudecode ${srcdir}/${subdir}/$i.u "
+ remote_exec build "cd ${objdir}/${subdir} ; uudecode ${srcdir}/${subdir}/$i.u "
}
# FIXME: These tests don't work for the i960, because
return 0
}
timeout {
- perror "(timeout) Couldn't load $arg, other program already l
-oaded."
+ perror "(timeout) Couldn't load $arg, other program already loaded."
return -1
}
}