* 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 6159aca..3e45873 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 eccc2e1..cb6b1b4 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)
     {