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.
This commit is contained in:
Andrew Cagney
2004-08-05 00:17:52 +00:00
parent 0a8490ad3a
commit 91cd10427a
5 changed files with 1318 additions and 75 deletions

View File

@@ -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