From: Jim Kingdon Date: Tue, 4 Jan 1994 21:36:04 +0000 (+0000) Subject: * target.h: Add enum target_waitkind, enum target_signal, and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b70610b4e3592f882ea0fd5626fd1b8da6898c8;p=binutils-gdb.git * 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. --- diff --git a/gdb/config/i960/tm-i960.h b/gdb/config/i960/tm-i960.h index d1513f7da23..f93b5aa711e 100644 --- a/gdb/config/i960/tm-i960.h +++ b/gdb/config/i960/tm-i960.h @@ -334,12 +334,6 @@ extern CORE_ADDR frame_args_address (); /* i960-tdep.c */ #define FRAME_FIND_SAVED_REGS(frame_info_addr, sr) \ frame_find_saved_regs (frame_info_addr, &sr) extern void frame_find_saved_regs(); /* See i960-tdep.c */ - - -/* Print status when we get a random unexpected signal. We have more - kinds of signals than Unix does... */ - -#define PRINT_RANDOM_SIGNAL(stop_signal) print_fault (stop_signal) /* Things needed for making calls to functions in the inferior process */