From 33ef0f9387895c65abe028aa584d490e572100f8 Mon Sep 17 00:00:00 2001 From: Mark Alexander <marka@cygnus> Date: Tue, 11 Mar 1997 15:49:20 +0000 Subject: First cut at supporting simulators in gdbserver: * configure, configure.in: Allow gdbserver to be configured for cross-target environments. * gdbserver/Makefile.in: Add simulator support. * gdbserver/configure.in: Eliminate assumption that host == target. Simplify using gdb/configure.tgt and gdb/configure.host. Fix other minor configuration errors. * gdbserver/low-sparc.c: Fix compile error. * gdbserver/remote-utils.c: Eliminate assumption that registers and addresses are four bytes. Fix minor compile errors and warnings. * gdbserver/server.c: Rewrite numerous instances of identical code for starting inferior processes to call new function start_inferior. Eliminate assumption that registers and addresses are four bytes. * gdbserver/server.h: Add missing prototypes to eliminate compiler warnings. * gdbserver/low-sim.c: New file to mate gdbserver with simulators. * config/mips/vr5000.mt: Add Vr5000 simulator support to gdbserver. * config/i386/linux.mh: Eliminate gdbserver support as a first step in moving such support from host to target makefile fragments. * config/i386/linux.mt: Move gdbserver support here from linux.mh. --- gdb/configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/configure') diff --git a/gdb/configure b/gdb/configure index 02c60df..7fc7bde 100755 --- a/gdb/configure +++ b/gdb/configure @@ -3053,9 +3053,9 @@ if test "${target}" = "${host}"; then nativefile=`sed -n ' s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p ' ${host_makefile_frag}` -else +# else # GDBserver is only useful in a "native" enviroment -configdirs=`echo $configdirs | sed 's/gdbserver//'` +# configdirs=`echo $configdirs | sed 's/gdbserver//'` fi -- cgit v1.1