aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-12-21 07:03:40 +0000
committerStu Grossman <grossman@cygnus>1994-12-21 07:03:40 +0000
commitc9c1dd7ce3f284d752347111fad27d5cadc64a40 (patch)
treef9d5084018ce1f57dda28dccd3a58af681caafd9
parentf10d31aa3229099201c30b197c40105011433c85 (diff)
downloadgdb-c9c1dd7ce3f284d752347111fad27d5cadc64a40.zip
gdb-c9c1dd7ce3f284d752347111fad27d5cadc64a40.tar.gz
gdb-c9c1dd7ce3f284d752347111fad27d5cadc64a40.tar.bz2
* config/mips/xm-irix4.h, config/mips/xm-irix5.h: #define
_BSD_COMPAT to get reliable signal handling (needed for GDBtk).
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/mips/xm-irix4.h4
-rw-r--r--gdb/config/mips/xm-irix5.h4
3 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1cceef7..eb3c31e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec 20 23:01:17 1994 Stu Grossman (grossman@cygnus.com)
+
+ * config/mips/xm-irix4.h, config/mips/xm-irix5.h: #define
+ _BSD_COMPAT to get reliable signal handling (needed for GDBtk).
+
Tue Dec 20 11:44:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* sparc-tdep.c, a29k-tdep.c, findvar.c (get_saved_register):
diff --git a/gdb/config/mips/xm-irix4.h b/gdb/config/mips/xm-irix4.h
index 87200d0..7c6ad8d 100644
--- a/gdb/config/mips/xm-irix4.h
+++ b/gdb/config/mips/xm-irix4.h
@@ -32,3 +32,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Irix 4.0.1 and later have termios. Not sure about earlier versions. */
#undef HAVE_TERMIO
#define HAVE_TERMIOS
+
+/* This enables reliable signals (and the associated setjmp/longjmp), and gives
+ bsdish prototypes for getpgrp/setpgrg/setgroups and initgroups. */
+#define _BSD_COMPAT
diff --git a/gdb/config/mips/xm-irix5.h b/gdb/config/mips/xm-irix5.h
index c4e8906..5cb341d 100644
--- a/gdb/config/mips/xm-irix5.h
+++ b/gdb/config/mips/xm-irix5.h
@@ -29,3 +29,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
addr = regno; \
else \
addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */
+
+/* This enables reliable signals (and the associated setjmp/longjmp), and gives
+ bsdish prototypes for getpgrp/setpgrg/setgroups and initgroups. */
+#define _BSD_COMPAT