binutils-gdb/sim/common
Doug Evans f7abc1ca0c * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define.
(LIB_OBJS): Add syscall.o.
	(gentmap): Pass $(NL_TARGET) to $(CC).
	(syscall.o): Add rule for.
	(sim_main_headers): Add $(SIM_EXTRA_DEPS).
	(sim-bits.o): Depend on $(sim-n-bits_h).
	(sim-load.o): Depend on callback.h.

	* Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to
	cgen-mem.h, sem-ops.h renamed to cgen-ops.h.
	* cgen-mem.h, cgen-ops.h: New files.

	* aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no".

	* Makefile.in (nltvals.def): Depend on gennltvals.sh.
	Rewrite build rule.
	* callback.c: #include string.h or strings.h.
	#include sys/types.h and sys/stat.h.
	(cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare.
	(enosys): New function.
	(os_get_errno,os_open): Update.
	(os_stat,os_fstat): New functions.
	(os_init): Initialize syscall_map, errno_map, open_map.
	(default_callback): Add entries for os_stat, os_fstat, syscall_map,
	errno_map, open_map, signal_map, stat_map.
	(cb_read_target_syscall_maps): New function.
	(cb_target_to_host_syscall): New function.
	(cb_host_to_target_errno): Renamed from host_to_target_errno.
	(cb_target_to_host_open): Renamed from target_to_host_open.
	(store): New function.
	(cb_host_to_target_stat): New function.
	* gentmap.c (sys_tdefs): New global.
	(gen_targ_vals_h): Output target syscall numbers.
	(gen_targ_map_c): Update.  Output target syscall translation map.
	* gentvals.sh: New first argument `target'.  Preface table with
	#ifdef NL_TARGET_$target if non-null target passed.
	* gennltvals.sh: New file.
	* nltvals.def: Regenerated.
1997-11-17 23:09:08 +00:00
..
.Sanitize * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define. 1997-11-17 23:09:08 +00:00
aclocal.m4 Remove need to update <targ>/Makefile.in when adding optional options 1997-09-23 01:25:26 +00:00
callback.c * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define. 1997-11-17 23:09:08 +00:00
cgen-mem.h
cgen-scache.c
cgen-scache.h
cgen-sim.h
cgen-trace.c
cgen-types.h
cgen-utils.c
ChangeLog * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define. 1997-11-17 23:09:08 +00:00
config.in
configure Remove need to update <targ>/Makefile.in when adding optional options 1997-09-23 01:25:26 +00:00
configure.in Determine ARCHITECTURE from program if possible. 1997-09-15 08:11:50 +00:00
gdbinit.in
genmloop.sh
gentmap.c
gentvals.sh
Make-common.in * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define. 1997-11-17 23:09:08 +00:00
Makefile.in
nrun.c * nrun.c (main): Remove useless test of name != NULL. 1997-10-22 01:38:49 +00:00
run.1
run.c
sim-abort.c
sim-alu.h * sim-alu.h (ALU64_HAD_OVERFLOW): Define. 1997-10-14 09:39:05 +00:00
sim-assert.h
sim-base.h Fix disabling of model code when simulator does not support modeling. 1997-09-22 09:16:14 +00:00
sim-basics.h
sim-bits.c Add {LS,MS}SEXT and {LS,MS}INSERTED macros. Eliminates bug in SEXT. 1997-09-16 07:04:46 +00:00
sim-bits.h Have single bit macros return an unsigned result. Avoids risk (and 1997-10-20 07:27:55 +00:00
sim-break.c * sim-break.c (sim_set_breakpoint sim_clear_breakpoint): Use ZALLOC 1997-09-25 18:22:46 +00:00
sim-break.h * Make-common.in: New files sim-break.c, sim-break.h. 1997-09-25 00:51:17 +00:00
sim-config.c Finish implementation of sim-memopt. 1997-09-04 10:08:44 +00:00
sim-config.h Add support for --enable-sim-alignment to simulator common aclocal.m4 1997-09-22 00:24:46 +00:00
sim-core.c (sim_core_signal): Add missing "\n" in message. 1997-11-14 21:52:04 +00:00
sim-core.h Make memory regions layered (just like existing device regions) so 1997-10-31 08:49:10 +00:00
sim-endian.c Add 128 bit transfers to sim core. 1997-10-27 03:00:12 +00:00
sim-endian.h Add support for 16 byte quantities to sim-endian macro H2T. 1997-10-28 07:10:36 +00:00
sim-engine.c
sim-engine.h
sim-events.c * sim-events.c (sim_events_process): Re-compute the time - 1997-11-11 07:48:05 +00:00
sim-events.h
sim-fpu.c
sim-fpu.h
sim-hload.c
sim-hrw.c Finish implementation of sim-memopt. 1997-09-04 10:08:44 +00:00
sim-inline.c
sim-inline.h
sim-io.c
sim-io.h
sim-load.c
sim-memopt.c Make memory regions layered (just like existing device regions) so 1997-10-31 08:49:10 +00:00
sim-memopt.h
sim-module.c
sim-n-bits.h Add/use LSEXTRACTED, MSEXTRACTED macros. 1997-09-08 17:21:13 +00:00
sim-n-core.h * sim-base.h (sim_state_base): Move `magic' to end of struct. 1997-11-13 21:18:14 +00:00
sim-n-endian.h
sim-options.c Add support for --enable-sim-alignment to simulator common aclocal.m4 1997-09-22 00:24:46 +00:00
sim-options.h
sim-profile.c
sim-resume.c
sim-run.c
sim-stop.c
sim-trace.c
sim-trace.h
sim-types.h Add 128 bit transfers to sim core. 1997-10-27 03:00:12 +00:00
sim-utils.c Add sim_do_commandf - printf version of sim_do_command. 1997-09-05 07:57:27 +00:00
sim-utils.h Finish implementation of sim-memopt. 1997-09-04 10:08:44 +00:00
sim-watch.c o Wordwrap usage messages from sim-options 1997-09-10 22:47:12 +00:00
sim-watch.h Redo watchpoint code so that it target can specify interrupt names. 1997-09-05 08:16:23 +00:00
sim-xcat.h * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once 1997-09-23 18:08:09 +00:00
syscall.c * Make-common.in (DEP, COMMON_DEP_CFLAGS): Define. 1997-11-17 23:09:08 +00:00
tconfig.in