diff options
author | Pedro Alves <palves@redhat.com> | 2012-06-04 16:23:57 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-04 16:23:57 +0000 |
commit | 1f8cf22072102afa4eb142425aeda8ab71b70233 (patch) | |
tree | 44e3707b359038782fd3c8e72b83b7e970e075a3 /gdb/gdbarch.h | |
parent | 86b498803658eb5e7ed3eb1a8131051e5e31e0e6 (diff) | |
download | gdb-1f8cf22072102afa4eb142425aeda8ab71b70233.zip gdb-1f8cf22072102afa4eb142425aeda8ab71b70233.tar.gz gdb-1f8cf22072102afa4eb142425aeda8ab71b70233.tar.bz2 |
2012-06-04 Pedro Alves <palves@redhat.com>
* arch-utils.c (default_gdb_signal_from_target): Delete.
* arch-utils.h (default_gdb_signal_from_target): Delete.
* corelow.c (core_open) <signal mapping>: Extended comment. Check
gdbarch_gdb_signal_from_target_p.
* gdbarch.sh (gdb_signal_from_target): Make it an M method (with
predicate).
* gdbarch.h: Regenerate.
* gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index da449c2..e4e7abf 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -945,8 +945,9 @@ extern void set_gdbarch_process_record_signal (struct gdbarch *gdbarch, gdbarch_ header (the nm-*.h files), the host <signal.h> header, or similar headers. 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. */ + (target_wait, target_resume, etc.). */ + +extern int gdbarch_gdb_signal_from_target_p (struct gdbarch *gdbarch); 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); |