2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205 * arch-utils.c (default_gdb_signal_to_host): Rename to ... (default_gdb_signal_to_target): ... this. Add comment. (default_gdb_signal_from_host): Rename to ... (default_gdb_signal_from_target): ... this. Add comment. * arch-utils.h (default_gdb_signal_to_host): Rename to ... (default_gdb_signal_to_target): ... this. (default_gdb_signal_from_host): Rename to ... (default_gdb_signal_from_target): ... this. * corelow.c (core_open): Adjust to naming change. Replace comment. * gdbarch.sh (gdb_signal_from_host): Rename to ... (gdb_signal_from_target): ... this. Adjust to default_gdb_signal_from_host naming change. Extend comment. (gdb_signal_to_host): Rename to ... (gdb_signal_to_target): ... this. Adjust to default_gdb_signal_to_host naming change. * gdbarch.h, gdbarch.c: Renegerate.
This commit is contained in:
parent
a493e3e2e4
commit
22203bbfb7
7 changed files with 58 additions and 30 deletions
|
@ -939,12 +939,15 @@ typedef int (gdbarch_process_record_signal_ftype) (struct gdbarch *gdbarch, stru
|
|||
extern int gdbarch_process_record_signal (struct gdbarch *gdbarch, struct regcache *regcache, enum gdb_signal signal);
|
||||
extern void set_gdbarch_process_record_signal (struct gdbarch *gdbarch, gdbarch_process_record_signal_ftype *process_record_signal);
|
||||
|
||||
/* Signal translation: translate inferior's signal (host's) number into
|
||||
GDB's representation. */
|
||||
/* Signal translation: translate inferior's signal (target's) number
|
||||
into GDB's representation. This is mainly used when cross-debugging
|
||||
core files --- "Live" targets hide the translation behind the target
|
||||
interface (target_wait, target_resume, etc.). The default is to do
|
||||
the translation using host signal numbers. */
|
||||
|
||||
typedef enum gdb_signal (gdbarch_gdb_signal_from_host_ftype) (struct gdbarch *gdbarch, int signo);
|
||||
extern enum gdb_signal gdbarch_gdb_signal_from_host (struct gdbarch *gdbarch, int signo);
|
||||
extern void set_gdbarch_gdb_signal_from_host (struct gdbarch *gdbarch, gdbarch_gdb_signal_from_host_ftype *gdb_signal_from_host);
|
||||
typedef enum gdb_signal (gdbarch_gdb_signal_from_target_ftype) (struct gdbarch *gdbarch, int signo);
|
||||
extern enum gdb_signal gdbarch_gdb_signal_from_target (struct gdbarch *gdbarch, int signo);
|
||||
extern void set_gdbarch_gdb_signal_from_target (struct gdbarch *gdbarch, gdbarch_gdb_signal_from_target_ftype *gdb_signal_from_target);
|
||||
|
||||
/* Extra signal info inspection.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue