* target.h: Add enum target_waitkind, enum target_signal, and
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 4 Jan 1994 21:53:53 +0000 (21:53 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 4 Jan 1994 21:53:53 +0000 (21:53 +0000)
commit67ac97591175936a06cc1ef1df228746edcdb545
treeeb6068254e2992c5aa83741da1e59bb1af9562f4
parente14316e7fe96be0212669a9a4d60608707f66c90
* target.h: Add enum target_waitkind, enum target_signal, and
struct target_waitstatus.  Change status argument to target_wait to
be struct target_waitstatus * instead of int *.
* target.h, infrun.c, all targets: Change type of signal arguments
to resume(), proceed(), and target_resume() from int to enum
target_signal.
* All targets (*_wait, *_resume): Change accordingly.
* infcmd.c (program_info, signal_command), throughout infrun.c,
* fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
* convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
signal code stuff right with the new signals would be non-trivial).
* inferior.h (stop_signal): Make it enum target_signal not int.
* target.c, target.h (target_signal_to_string, target_signal_to_name,
target_signal_from_name): New functions.
* inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
store_waitstatus): New functions.
* procfs.c (procfs_notice_signals): Use them.
* i960-tdep.c (i960_fault_to_signal): New function, to replace
print_fault.
* config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.
32 files changed:
gdb/ChangeLog
gdb/convex-tdep.c
gdb/convex-xdep.c
gdb/fork-child.c
gdb/hppa-tdep.c
gdb/hppab-nat.c
gdb/hppah-nat.c
gdb/i960-tdep.c
gdb/infcmd.c
gdb/infrun.c
gdb/inftarg.c
gdb/lynx-nat.c
gdb/m3-nat.c
gdb/osfsolib.c
gdb/procfs.c
gdb/remote-adapt.c
gdb/remote-bug.c
gdb/remote-eb.c
gdb/remote-es.c
gdb/remote-hms.c
gdb/remote-mips.c
gdb/remote-mm.c
gdb/remote-mon.c
gdb/remote-nindy.c
gdb/remote-sim.c
gdb/remote-st.c
gdb/remote-udi.c
gdb/remote-vx.c
gdb/remote-z8k.c
gdb/sparcly-nat.c
gdb/target.c
gdb/target.h