* gdb.texinfo (Command Files): Mention -x, use @enumerate for
[deliverable/binutils-gdb.git] / gdb / ocd.c
index 826677540e307a5fdc6ba5111f9c1ec531ead0ba..e826ca0e56f8ae70dd16454fffd7bfdae4881347 100644 (file)
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -27,7 +27,7 @@
 #include "bfd.h"
 #include "symfile.h"
 #include "target.h"
-#include "wait.h"
+#include "gdb_wait.h"
 #include "gdbcmd.h"
 #include "objfiles.h"
 #include "gdb-stabs.h"
@@ -289,7 +289,6 @@ ocd_open (name, from_tty, target_type, ops)
      struct target_ops *ops;
 {
   unsigned char buf[10], *p;
-  int status;
   int pktlen;
 
   if (name == 0)
@@ -1066,7 +1065,6 @@ ocd_get_packet (cmd, lenp, timeout)
 {
   int ch;
   int len;
-  int i;
   static unsigned char packet[512];
   unsigned char *packet_ptr;
   unsigned char checksum;
@@ -1411,7 +1409,7 @@ bdm_update_flash_command (args, from_tty)
      int from_tty;
 {
   int status, pktlen;
-  struct cleanup *old_chain;
+  struct cleanup *old_chain; 
   void (*store_registers_tmp) PARAMS ((int));
 
   if (!ocd_desc)
This page took 0.023646 seconds and 4 git commands to generate.