Decouple target code from remote protocol.
[deliverable/binutils-gdb.git] / gdb / gdbserver / target.c
index b49bdb5bd8c7e3c68b6979f8896056b34d3128a3..3bdc469e7895dbc5c7f2d2012f0ec7b4f950eea9 100644 (file)
@@ -88,15 +88,15 @@ write_inferior_memory (CORE_ADDR memaddr, const unsigned char *myaddr,
   return res;
 }
 
-unsigned char
-mywait (char *statusp, int connected_wait)
+unsigned long
+mywait (struct target_waitstatus *ourstatus, int connected_wait)
 {
-  unsigned char ret;
+  unsigned long ret;
 
   if (connected_wait)
     server_waiting = 1;
 
-  ret = (*the_target->wait) (statusp);
+  ret = (*the_target->wait) (ourstatus);
 
   if (connected_wait)
     server_waiting = 0;
This page took 0.024963 seconds and 4 git commands to generate.