From 33ef0f9387895c65abe028aa584d490e572100f8 Mon Sep 17 00:00:00 2001 From: Mark Alexander 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/gdbserver/low-sparc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbserver/low-sparc.c') diff --git a/gdb/gdbserver/low-sparc.c b/gdb/gdbserver/low-sparc.c index 6f9810e..ddffaec 100644 --- a/gdb/gdbserver/low-sparc.c +++ b/gdb/gdbserver/low-sparc.c @@ -46,7 +46,7 @@ char buf2[MAX_REGISTER_RAW_SIZE]; /***************End MY defs*********************/ #include -#include +#include extern int sys_nerr; extern char **sys_errlist; -- cgit v1.1