* linux-low.c (usr_store_inferior_registers): Declare local `pid'
authorPedro Alves <palves@redhat.com>
Fri, 3 Apr 2009 11:40:02 +0000 (11:40 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 3 Apr 2009 11:40:02 +0000 (11:40 +0000)
variable.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index 6159aca735d30ff9ca02df6639107fcf2dd64d53..3e45873ba9e0066d23ac6553e2f5cb0c5d83ceb9 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (usr_store_inferior_registers): Declare local `pid'
+       variable.
+
 2009-04-01  Pedro Alves  <pedro@codesourcery.com>
 
        Implement the multiprocess extensions, and add linux multiprocess
index eccc2e1a81fafcbbd02613b2b97cd06bf5c3b0c1..cb6b1b47df011a49875d792284aad314396b142f 100644 (file)
@@ -1985,6 +1985,7 @@ usr_store_inferior_registers (int regno)
   CORE_ADDR regaddr;
   int i, size;
   char *buf;
+  int pid;
 
   if (regno >= 0)
     {