Replace ../include/wait.h with gdb_wait.h.
[deliverable/binutils-gdb.git] / gdb / monitor.c
index c9c6d5a47cc94b8d404ac05e1ddd4025b392a6a3..e57c010383db00f9da113274488d1e9a5fb5877a 100644 (file)
@@ -1,6 +1,5 @@
 /* Remote debugging interface for boot monitors, for GDB.
-   Copyright 1990, 1991, 1992, 1993, 1995, 1996, 1997, 1999
-   Free Software Foundation, Inc.
+   Copyright 1990-1993, 1995-1997, 1999-2000 Free Software Foundation, Inc.
    Contributed by Cygnus Support.  Written by Rob Savoye for Cygnus.
    Resurrected from the ashes by Stu Grossman.
 
@@ -41,7 +40,7 @@
 #include "defs.h"
 #include "gdbcore.h"
 #include "target.h"
-#include "wait.h"
+#include "gdb_wait.h"
 #include <signal.h>
 #include <ctype.h>
 #include "gdb_string.h"
@@ -912,6 +911,7 @@ monitor_supply_register (regno, valstr)
   unsigned char regbuf[MAX_REGISTER_RAW_SIZE];
   char *p;
 
+  val = 0;
   p = valstr;
   while (p && *p != '\0')
     {
@@ -2269,7 +2269,7 @@ monitor_stop ()
 
 static void
 monitor_rcmd (char *command,
-             struct gdb_file *outbuf)
+             struct ui_file *outbuf)
 {
   char *p;
   int resp_len;
This page took 0.02352 seconds and 4 git commands to generate.