aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-02-08 05:06:13 +0000
committerAndrew Cagney <cagney@redhat.com>2001-02-08 05:06:13 +0000
commit72290732e94ff7ab2dcd66e6bc8f1c1c7aa92fd8 (patch)
tree2cb0781f9d98e34cbb25ce5035875b1e863ea1b2 /gdb
parent8ea46bbdec0bc6ad5fe3afac43fae1cae616bd2f (diff)
downloadgdb-72290732e94ff7ab2dcd66e6bc8f1c1c7aa92fd8.zip
gdb-72290732e94ff7ab2dcd66e6bc8f1c1c7aa92fd8.tar.gz
gdb-72290732e94ff7ab2dcd66e6bc8f1c1c7aa92fd8.tar.bz2
From Mark Kettenis, include <signal.h>.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/event-top.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 74ba637..a460d56 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2001-02-07 Andrew Cagney <ac131313@redhat.com>
+ From Mark Kettenis <kettenis@gnu.org>:
+ * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
+
+2001-02-07 Andrew Cagney <ac131313@redhat.com>
+
* remote-sim.c (dump_mem): Cleanup printf format argument.
* MAINTAINERS: Update, mn10300-elf now builds.
diff --git a/gdb/event-top.h b/gdb/event-top.h
index 36b2098..b719549 100644
--- a/gdb/event-top.h
+++ b/gdb/event-top.h
@@ -1,5 +1,5 @@
/* Definitions used by GDB event-top.c.
- Copyright 1999 Free Software Foundation, Inc.
+ Copyright 1999, 2001 Free Software Foundation, Inc.
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
This file is part of GDB.
@@ -78,6 +78,7 @@ extern void set_async_prompt (char *args, int from_tty, struct cmd_list_element
/* Signal to catch ^Z typed while reading a command: SIGTSTP or SIGCONT. */
#ifndef STOP_SIGNAL
+#include <signal.h>
#ifdef SIGTSTP
#define STOP_SIGNAL SIGTSTP
extern void handle_stop_sig (int sig);