summaryrefslogtreecommitdiff
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
commitc7ef88b6b23866b0cfdb1dbc0169df39b2ceae4e (patch)
tree01a86de72a7b6d45b5c6afe2470f226a3456bbaa /gdb
parent4f59f135eb9ce3b7e25c5447b12df4762f4089b1 (diff)
downloadgdb-c7ef88b6b23866b0cfdb1dbc0169df39b2ceae4e.tar.gz
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 74ba6377ca7..a460d56eed8 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 36b20981789..b719549bd71 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);