From c9c1dd7ce3f284d752347111fad27d5cadc64a40 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Wed, 21 Dec 1994 07:03:40 +0000 Subject: [PATCH] * config/mips/xm-irix4.h, config/mips/xm-irix5.h: #define _BSD_COMPAT to get reliable signal handling (needed for GDBtk). --- gdb/ChangeLog | 5 +++++ gdb/config/mips/xm-irix4.h | 4 ++++ gdb/config/mips/xm-irix5.h | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1cceef74de5..eb3c31e8a28 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 87200d0a887..7c6ad8d1dbe 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 c4e89061c86..5cb341dbc42 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 -- 2.30.2