From Mark Kettenis, include <signal.h>.

This commit is contained in:
Andrew Cagney 2001-02-08 05:06:13 +00:00
parent 8ea46bbdec
commit 72290732e9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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);