diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-07-19 20:28:00 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-07-19 20:28:00 +0000 |
commit | 844750e31e1e38278c92f468197ff221fddef063 (patch) | |
tree | 9f1f5c69c8b59c873b5ae5a0af8da3dd3520c3dc /gdb/main.c | |
parent | 3e304ddfab5812caf0030fcdd533e916277134a6 (diff) | |
download | gdb-844750e31e1e38278c92f468197ff221fddef063.zip gdb-844750e31e1e38278c92f468197ff221fddef063.tar.gz gdb-844750e31e1e38278c92f468197ff221fddef063.tar.bz2 |
* main.c: Include <ctype.h>.
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |