aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-sysv4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xm-sysv4.h')
-rw-r--r--gdb/xm-sysv4.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/xm-sysv4.h b/gdb/xm-sysv4.h
index 35c831d..c51c58d 100644
--- a/gdb/xm-sysv4.h
+++ b/gdb/xm-sysv4.h
@@ -65,3 +65,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Use setpgid(0,0) to run inferior in a separate process group */
#define NEED_POSIX_SETPGID
+
+/* If gdb's signal handling changes (due to a "handle" command), then
+ this macro expands to an action to perform to notify other parts of
+ gdb that might care, that signal handling has changed. For hosts using
+ the /proc interface, gdb has more control over which signals cause the
+ inferior to stop and which do not. In some cases, it is desirable to
+ have signals delivered directly to the inferior without involving the
+ debugger at all. */
+
+#ifdef USE_PROC_FS
+#define NOTICE_SIGNAL_HANDLING_CHANGE proc_signal_handling_change()
+#endif