diff options
author | Stu Grossman <grossman@cygnus> | 1994-12-21 07:03:40 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-12-21 07:03:40 +0000 |
commit | c9c1dd7ce3f284d752347111fad27d5cadc64a40 (patch) | |
tree | f9d5084018ce1f57dda28dccd3a58af681caafd9 /gdb/config | |
parent | f10d31aa3229099201c30b197c40105011433c85 (diff) | |
download | gdb-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).
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/xm-irix4.h | 4 | ||||
-rw-r--r-- | gdb/config/mips/xm-irix5.h | 4 |
2 files changed, 8 insertions, 0 deletions
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 |