aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
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/config
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/config')
-rw-r--r--gdb/config/mips/vr5000.mt6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/mips/vr5000.mt b/gdb/config/mips/vr5000.mt
index 2d439ee..94fd5b3 100644
--- a/gdb/config/mips/vr5000.mt
+++ b/gdb/config/mips/vr5000.mt
@@ -3,3 +3,9 @@ TDEPFILES= mips-tdep.o remote-mips.o
TM_FILE= tm-vr5000.h
SIM_OBS = remote-sim.o
SIM = ../sim/mips/libsim.a -lm
+GDBSERVER_DEPFILES= low-sim.o
+GDBSERVER_LIBS = \
+ ../../sim/mips/libsim.a \
+ ../../bfd/libbfd.a \
+ ../../libiberty/libiberty.a \
+ -lm