aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-06-04 16:23:57 +0000
committerPedro Alves <palves@redhat.com>2012-06-04 16:23:57 +0000
commit1f8cf22072102afa4eb142425aeda8ab71b70233 (patch)
tree44e3707b359038782fd3c8e72b83b7e970e075a3 /gdb/gdbarch.h
parent86b498803658eb5e7ed3eb1a8131051e5e31e0e6 (diff)
downloadgdb-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.h5
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);