aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-07-19 20:28:00 +0000
committerStan Shebs <shebs@codesourcery.com>1994-07-19 20:28:00 +0000
commit844750e31e1e38278c92f468197ff221fddef063 (patch)
tree9f1f5c69c8b59c873b5ae5a0af8da3dd3520c3dc
parent3e304ddfab5812caf0030fcdd533e916277134a6 (diff)
downloadgdb-844750e31e1e38278c92f468197ff221fddef063.zip
gdb-844750e31e1e38278c92f468197ff221fddef063.tar.gz
gdb-844750e31e1e38278c92f468197ff221fddef063.tar.bz2
* main.c: Include <ctype.h>.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/main.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 791ebc3..8af4239 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jul 19 13:25:06 1994 Stan Shebs (shebs@andros.cygnus.com)
+
+ * main.c: Include <ctype.h>.
+
Mon Jul 18 15:32:17 1994 Kung Hsu (kung@mexican.cygnus.com)
* remote-mips.c (mips_readchar): Fix a bug in checking <IDT>
diff --git a/gdb/main.c b/gdb/main.c
index 2e0c00d..ce21c83 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -22,11 +22,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <setjmp.h>
#include "top.h"
#include "target.h"
+#include "inferior.h"
+#include "call-cmds.h"
#include "getopt.h"
#include <sys/types.h>
#include <sys/stat.h>
+#include <ctype.h>
#include <string.h>
/* R_OK lives in either unistd.h or sys/file.h. */
@@ -49,6 +52,8 @@ static int top_level_val;
? (PTR) 0 : (PTR) memcpy (quit_return, error_return, sizeof (jmp_buf))) \
, top_level_val)
+extern void gdb_init PARAMS ((void));
+
int
main (argc, argv)
int argc;
@@ -549,7 +554,9 @@ proc_wait (pid, status)
int pid;
int *status;
{
+#ifndef __GO32__
return wait (status);
+#endif
}
void