aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1998-01-05 15:36:49 +0000
committerDavid Taylor <taylor@redhat.com>1998-01-05 15:36:49 +0000
commit4b65fd38798807a481eb9c915af10bc36db0adc6 (patch)
treeb563a8876cbed08d2aa19fa20eb24daf572877c8 /gdb/config
parentf6428b86cccb6a2aa2fc3b9d659fedc5200b1047 (diff)
downloadgdb-4b65fd38798807a481eb9c915af10bc36db0adc6.zip
gdb-4b65fd38798807a481eb9c915af10bc36db0adc6.tar.gz
gdb-4b65fd38798807a481eb9c915af10bc36db0adc6.tar.bz2
fix gdb/13620 -- control-c to interrupt gdb command only works once.
if HAVE_SIGSETJMP is not defined, nothing is changed; if it is defined (as it now is for sysv4 based systems), then the fix is enabled.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/xm-sysv4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/xm-sysv4.h b/gdb/config/xm-sysv4.h
index 1ffe8fa..06215e6 100644
--- a/gdb/config/xm-sysv4.h
+++ b/gdb/config/xm-sysv4.h
@@ -31,6 +31,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define NEED_POSIX_SETPGID
+/* SVR4 has sigsetjmp and siglongjmp */
+#define HAVE_SIGSETJMP
+
/* We have to include these files now, so that GDB will not make
competing definitions in defs.h. */
#include <limits.h>