diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-05 00:17:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-05 00:17:52 +0000 |
commit | 91cd10427a41cb556ca19cbe928ebe374210c953 (patch) | |
tree | bc026bef5a5caf66dcebce2996e91799ebb37e3b /sim/ppc/Makefile.in | |
parent | 0a8490ad3ac5b8e618241beca1a6212003e1974d (diff) | |
download | gdb-91cd10427a41cb556ca19cbe928ebe374210c953.zip gdb-91cd10427a41cb556ca19cbe928ebe374210c953.tar.gz gdb-91cd10427a41cb556ca19cbe928ebe374210c953.tar.bz2 |
2004-08-04 Andrew Cagney <cagney@gnu.org>
Jim Blandy <jimb@redhat.com>
* sim_callbacks.h (simulator): Declare.
* Makefile.in (gdb-sim.o): New rule.
(MAIN_SRC, GDB_OBJ): Add gdb-sim.o, gdb-sim.c.
(DEFS_H): Delete.
(GDB_SIM_PPC_H): Define.
* gdb-sim.c: New file.
* sim_calls.c: Do not include "defs.h".
(simulator): Drop static.
(sim_store_register, sim_fetch_register): Delete.
Diffstat (limited to 'sim/ppc/Makefile.in')
-rw-r--r-- | sim/ppc/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 5e00a43..efef134 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -172,9 +172,9 @@ all: run $(TARGETLIB) $(GDB_OBJ) # Headers outside sim/ppc. ANSIDECL_H = $(srcroot)/include/ansidecl.h BFD_H = ../../bfd/bfd.h -DEFS_H = $(srcroot)/gdb/defs.h GDB_CALLBACK_H = $(srcroot)/include/gdb/callback.h GDB_REMOTE_SIM_H = $(srcroot)/include/gdb/remote-sim.h +GDB_SIM_PPC_H = $(srcroot)/include/gdb/sim-ppc.h COMMON_SIM_BASE_H = $(srcroot)/sim/common/sim-base.h COMMON_SIM_BASICS_H = $(srcroot)/sim/common/sim-basics.h COMMON_SIM_FPU_H = $(srcroot)/sim/common/sim-fpu.h @@ -498,6 +498,7 @@ LIB_SRC = \ MAIN_SRC = \ main.c \ + gdb-sim.c \ sim_calls.c @@ -539,7 +540,7 @@ LIB_OBJ = \ options.o -GDB_OBJ = sim_calls.o @sim_callback@ +GDB_OBJ = gdb-sim.o sim_calls.o @sim_callback@ HW_SRC = @sim_hw_src@ HW_OBJ = @sim_hw_obj@ @@ -599,6 +600,8 @@ events.o: events.c $(BASICS_H) $(EVENTS_H) sim_calls.o: sim_calls.c $(PSIM_H) $(OPTIONS_H) $(DEFS_H) $(BFD_H) $(GDB_CALLBACK_H) $(GDB_REMOTE_SIM_H) +gdb-sim.o: gdb-sim.c $(PSIM_H) $(OPTIONS_H) $(REGISTERS_H) $(GDB_REMOTE_SIM_H) $(GDB_SIM_PPC_H) $(SIM_CALLBACK_H) + spreg.o: spreg.c $(BASICS_H) $(SPREG_H) main.o: main.c $(PSIM_H) $(OPTIONS_H) $(DEVICE_H) $(EVENTS_H) $(BFD_H) $(GDB_CALLBACK_H) $(GDB_REMOTE_SIM_H) |