* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
authorJim Blandy <jimb@codesourcery.com>
Wed, 2 Jun 2004 18:24:35 +0000 (18:24 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 2 Jun 2004 18:24:35 +0000 (18:24 +0000)
gdb/ChangeLog
gdb/ppc-linux-nat.c

index 0e165ca..26ce8b8 100644 (file)
@@ -3,6 +3,8 @@
        * ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
        to 'message', and make it local to the lone block that uses it.
 
+       * ppc-linux-nat.c (store_register): Remove unused local 'offset'.
+
 2004-06-02  Paul N. Hilfinger  <hilfinger@gnat.com>
 
        * ada-exp.y: Synchronize with current ACT sources.
index 0d9fbc2..f532a58 100644 (file)
@@ -407,7 +407,6 @@ store_register (int tid, int regno)
   /* This isn't really an address.  But ptrace thinks of it as one.  */
   CORE_ADDR regaddr = ppc_register_u_addr (regno);
   int i;
-  unsigned int offset;         /* Offset of registers within the u area.  */
   char buf[MAX_REGISTER_SIZE];
 
   if (altivec_register_p (regno))