summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.sh
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-06-04 16:23:54 +0000
committerPedro Alves <palves@redhat.com>2012-06-04 16:23:54 +0000
commit47c4f68c6bbe2cb4bd8db38e20b956a75607aa60 (patch)
tree48cda986177ed9dcbc9fa3d1f23a9cdd9fac12d5 /gdb/gdbarch.sh
parent0680fbcee0a8b361b3d6350502c538418e9b9d55 (diff)
downloadgdb-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/gdbarch.sh')
-rwxr-xr-xgdb/gdbarch.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index 5cefdab8d3f..0f58defb383 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -778,9 +778,8 @@ M:int:process_record_signal:struct regcache *regcache, enum gdb_signal signal:re
# 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.
-m:enum gdb_signal:gdb_signal_from_target:int signo:signo::default_gdb_signal_from_target::0
+# (target_wait, target_resume, etc.).
+M:enum gdb_signal:gdb_signal_from_target:int signo:signo
# Extra signal info inspection.
#