forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user