diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-11-22 12:52:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-11-22 12:52:44 +0000 |
commit | aaa11abe428e6433b3e41fb88431886f4445a462 (patch) | |
tree | c179020dfe5d8670cfd51dc4669f643bd7474e42 /sim/common | |
parent | 38639b1294135f3fcc4339d0081777d755c065d9 (diff) | |
download | gdb-aaa11abe428e6433b3e41fb88431886f4445a462.zip gdb-aaa11abe428e6433b3e41fb88431886f4445a462.tar.gz gdb-aaa11abe428e6433b3e41fb88431886f4445a462.tar.bz2 |
Clarify meaning of sim_signalled's SIGRC argument. Document that this
isn't possible in sim-reason.c and just return the target SIGRC
instead.
For simulators that rely on sim-reason.c, replace SIG* with SIM_SIG*.
Hack nrun.c so that when it is executed (ARGV[0]) as `step' instead
of `run' it single steps the simulator. Allows testing of single step
without full GDB.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 12 | ||||
-rw-r--r-- | sim/common/Make-common.in | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 966b0ea..7e69084 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,15 @@ +Sat Nov 22 19:16:54 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * sim-reason.c (sim_stop_reason): For sim_signalled, terurn the + signal untranslated, document problem with this. + + * nrun.c (main): Check for a prog name of `*step'. If present, + step the simulator instead of allowing it to run free. + + * sim-signal.c (SIGQUIT): Define on _MSC_VER hosts. + + * Make-common.in (sim_main_headers): Add sim-signal.h. + Fri Nov 21 09:32:32 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-signal.c (sim_signal_to_host): Return 0 for SIM_SIGNONE. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 344edad..c359bac 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -254,6 +254,7 @@ sim_main_headers = \ $(srccom)/sim-config.h \ $(srccom)/sim-base.h \ $(srccom)/sim-basics.h \ + $(srccom)/sim-signal.h \ $(srccom)/sim-memopt.h \ $(srccom)/sim-model.h \ $(srccom)/sim-module.h \ |