summaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-11-19 08:00:37 +0000
committerDoug Evans <dje@google.com>1997-11-19 08:00:37 +0000
commit1ebc7e0e243040693a2cf9b4d702d293ee5e6769 (patch)
treebee8e3cdc2aa4f35b3752bc7177a77307ed99590 /sim/common/Make-common.in
parent35baf6dded272dffe04d48776f4990f99cbbf000 (diff)
downloadbinutils-gdb-1ebc7e0e243040693a2cf9b4d702d293ee5e6769.tar.gz
* sim-signal.c, sim-signal.h: New files.
* Make-common.in (sim-signal.o): Add rule for. (SIM_NEW_COMMON_OBJS): Add sim-signal.o. * sim-abort.c: Don't include <signal.h>. * sim-basics.h: #include "sim-signal.h". * sim-break.c: Don't include <signal.h>. (sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP. * sim-core.c: Don't include <signal.h>. (SIGBUS): Delete definition. (sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS. * sim-engine.c: Don't include <signal.h>. (sim_engine_abort): Replace SIGABRT with SIM_SIGABRT. * sim-reason.c (sim_stop_reason): Call sim_signal_to_host. * sim-resume.c: Don't include <signal.h>. (SIGTRAP): Delete definition. (has_stepped): Replace SIGTRAP with SIM_SIGTRAP. * sim-stop.c: Don't include <signal.h>. (control_c_simulation): Replace SIGINT with SIM_SIGINT. * sim-watch.c: Don't include <signal.h>. (handle_watchpoint): Replace SIGINT with SIM_SIGINT.
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index f782e0537d3..344edade264 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -148,6 +148,7 @@ SIM_NEW_COMMON_OBJS = \
sim-module.o \
sim-options.o \
sim-profile.o \
+ sim-signal.o \
sim-trace.o \
sim-utils.o \
sim-watch.o
@@ -279,6 +280,7 @@ sim-fpu_h = $(srccom)/sim-fpu.h
sim-io_h = $(srccom)/sim-io.h
sim-options_h = $(srccom)/sim-options.h
sim-break_h = $(srccom)/sim-break.h
+sim-signal_h = $(srccom)/sim-signal.h
# FIXME: If this complicated way of building .o files from ../common is
# necessary, the reason should be documented here.
@@ -355,6 +357,9 @@ sim-resume.o: $(srccom)/sim-resume.c $(sim_main_headers)
sim-run.o: $(srccom)/sim-run.c $(sim_main_headers)
$(CC) -c $(srccom)/sim-run.c $(ALL_CFLAGS)
+sim-signal.o: $(srccom)/sim-signal.c $(sim_main_headers) $(sim-signal_h)
+ $(CC) -c $(srccom)/sim-signal.c $(ALL_CFLAGS)
+
sim-stop.o: $(srccom)/sim-stop.c $(sim_main_headers)
$(CC) -c $(srccom)/sim-stop.c $(ALL_CFLAGS)