summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.sh
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-06-04 16:23:16 +0000
committerPedro Alves <palves@redhat.com>2012-06-04 16:23:16 +0000
commit86b498803658eb5e7ed3eb1a8131051e5e31e0e6 (patch)
treedb34d3daa2c8745e8f2721f32d2d2e50d8b8c1c0 /gdb/gdbarch.sh
parentfe78531dcfcd709286a292c7707b987685f61919 (diff)
downloadbinutils-gdb-86b498803658eb5e7ed3eb1a8131051e5e31e0e6.tar.gz
2012-06-04 Pedro Alves <palves@redhat.com>
* gdbarch.sh (gdb_signal_from_target): Mention that the implementation of the method must be host independent. * gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-xgdb/gdbarch.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index cc1fe654a05..5cefdab8d3f 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -773,10 +773,13 @@ M:int:process_record:struct regcache *regcache, CORE_ADDR addr:regcache, addr
M:int:process_record_signal:struct regcache *regcache, enum gdb_signal signal:regcache, signal
# Signal translation: translate inferior's signal (target's) number
-# into GDB's representation. 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.
+# into GDB's representation. The implementation of this method must
+# be host independent. IOW, don't rely on symbols of the NAT_FILE
+# 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
# Extra signal info inspection.