From 844750e31e1e38278c92f468197ff221fddef063 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 19 Jul 1994 20:28:00 +0000 Subject: [PATCH] * main.c: Include . --- gdb/ChangeLog | 4 ++++ gdb/main.c | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 791ebc3422..8af4239e88 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 . + Mon Jul 18 15:32:17 1994 Kung Hsu (kung@mexican.cygnus.com) * remote-mips.c (mips_readchar): Fix a bug in checking diff --git a/gdb/main.c b/gdb/main.c index 2e0c00de86..ce21c83dc9 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -22,11 +22,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include "top.h" #include "target.h" +#include "inferior.h" +#include "call-cmds.h" #include "getopt.h" #include #include +#include #include /* 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 -- 2.34.1