aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 5d73d72..da449c2 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -940,10 +940,13 @@ extern int gdbarch_process_record_signal (struct gdbarch *gdbarch, struct regcac
extern void set_gdbarch_process_record_signal (struct gdbarch *gdbarch, gdbarch_process_record_signal_ftype *process_record_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. */
typedef enum gdb_signal (gdbarch_gdb_signal_from_target_ftype) (struct gdbarch *gdbarch, int signo);
extern enum gdb_signal gdbarch_gdb_signal_from_target (struct gdbarch *gdbarch, int signo);