aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/low-sparc.c
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1997-03-11 15:49:20 +0000
committerMark Alexander <marka@cygnus>1997-03-11 15:49:20 +0000
commit33ef0f9387895c65abe028aa584d490e572100f8 (patch)
tree869237eed07ffc6541c14978dee7ff93a7520f4f /gdb/gdbserver/low-sparc.c
parent52c92c7f75b082b4a7f958b93edbf690fa6128bf (diff)
downloadgdb-33ef0f9387895c65abe028aa584d490e572100f8.zip
gdb-33ef0f9387895c65abe028aa584d490e572100f8.tar.gz
gdb-33ef0f9387895c65abe028aa584d490e572100f8.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver/low-sparc.c')
-rw-r--r--gdb/gdbserver/low-sparc.c2
1 files changed, 1 insertions, 1 deletions
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 <sys/ptrace.h>
-#include <machine/reg.h>
+#include <sys/reg.h>
extern int sys_nerr;
extern char **sys_errlist;