* server.c (start_inferior): Change return type to int.
authorDaniel Jacobowitz <drow@false.org>
Wed, 4 May 2005 18:51:38 +0000 (18:51 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 4 May 2005 18:51:38 +0000 (18:51 +0000)
(attach_inferior): Change sigptr to int *.
(handle_v_cont, handle_v_requests): Change signal to int *.
(main): Change signal to int.

gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index ce5dd8931ac74e38916d1110080c0b5691abe7c5..fba07c706eef9e8ef55deeb20ead5f05fbda9a02 100644 (file)
@@ -1,4 +1,11 @@
-2005-04-15    Ke Sakamoto  <sakamoto.kei@renesas.com>
+2005-05-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * server.c (start_inferior): Change return type to int.
+       (attach_inferior): Change sigptr to int *.
+       (handle_v_cont, handle_v_requests): Change signal to int *.
+       (main): Change signal to int.
+
+2005-04-15  Kei Sakamoto  <sakamoto.kei@renesas.com>
 
        * Makefile.in: Add linux-m32r-low.o, reg-m32r.c and reg-m32r.o.
        * configure.srv: Add m32r*-*-linux*.
index b4d3aac67841835c85b0787a6ee1766037c09462..c8ba5a20aa3fed6b0b579d9d0b8c9a1170f3bff9 100644 (file)
@@ -43,7 +43,7 @@ jmp_buf toplevel;
 
 unsigned long signal_pid;
 
-static unsigned char
+static int
 start_inferior (char *argv[], char *statusptr)
 {
   signal (SIGTTOU, SIG_DFL);
@@ -63,7 +63,7 @@ start_inferior (char *argv[], char *statusptr)
 }
 
 static int
-attach_inferior (int pid, char *statusptr, unsigned char *sigptr)
+attach_inferior (int pid, char *statusptr, int *sigptr)
 {
   /* myattach should return -1 if attaching is unsupported,
      0 if it succeeded, and call error() otherwise.  */
@@ -150,7 +150,7 @@ handle_query (char *own_buf)
 
 /* Parse vCont packets.  */
 void
-handle_v_cont (char *own_buf, char *status, unsigned char *signal)
+handle_v_cont (char *own_buf, char *status, int *signal)
 {
   char *p, *q;
   int n = 0, i = 0;
@@ -255,7 +255,7 @@ err:
 
 /* Handle all of the extended 'v' packets.  */
 void
-handle_v_requests (char *own_buf, char *status, unsigned char *signal)
+handle_v_requests (char *own_buf, char *status, int *signal)
 {
   if (strncmp (own_buf, "vCont;", 6) == 0)
     {
@@ -315,7 +315,7 @@ main (int argc, char *argv[])
 {
   char ch, status, *own_buf, mem_buf[2000];
   int i = 0;
-  unsigned char signal;
+  int signal;
   unsigned int len;
   CORE_ADDR mem_addr;
   int bad_attach;
This page took 0.030267 seconds and 4 git commands to generate.