aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
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/arch-utils.c
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/arch-utils.c')
-rw-r--r--gdb/arch-utils.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 98cf4b8..e683a2d 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -793,15 +793,6 @@ default_gen_return_address (struct gdbarch *gdbarch,
error (_("This architecture has no method to collect a return address."));
}
-enum gdb_signal
-default_gdb_signal_from_target (struct gdbarch *gdbarch, int signo)
-{
- /* Lacking a better mapping, assume host signal numbers. If
- debugging a cross-core, most likely this translation will be
- incorrect. */
- return gdb_signal_from_host (signo);
-}
-
/* */
/* -Wmissing-prototypes */