aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/ppc-linux-nat.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0e165ca..26ce8b8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 0d9fbc2..f532a58 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -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))