aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-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