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/sim_callbacks.h | |
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/sim_callbacks.h')
-rw-r--r-- | sim/ppc/sim_callbacks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/ppc/sim_callbacks.h b/sim/ppc/sim_callbacks.h index 322af9d..9fb815b 100644 --- a/sim/ppc/sim_callbacks.h +++ b/sim/ppc/sim_callbacks.h @@ -103,6 +103,10 @@ void sim_io_flush_stdoutput (void); +/* Simulator instance. */ +extern psim *simulator; + + /* Memory management with an allocator that clears memory before use. */ void *zalloc |