diff options
author | Pedro Alves <palves@redhat.com> | 2012-06-04 16:23:54 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-04 16:23:54 +0000 |
commit | 47c4f68c6bbe2cb4bd8db38e20b956a75607aa60 (patch) | |
tree | 48cda986177ed9dcbc9fa3d1f23a9cdd9fac12d5 /gdb/arch-utils.c | |
parent | 0680fbcee0a8b361b3d6350502c538418e9b9d55 (diff) | |
download | gdb-47c4f68c6bbe2cb4bd8db38e20b956a75607aa60.tar.gz |
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.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 98cf4b8f787..e683a2d42b0 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 */ |