summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-06-02 18:24:35 +0000
committerJim Blandy <jimb@codesourcery.com>2004-06-02 18:24:35 +0000
commitd58fb2d0ac2d6387101af7db79eaa191cf55d6c0 (patch)
tree5cfe62aa579fb08fd137a016bfed031aa60754ce /gdb
parentb64ee538448f8f104f308b70cd332df0acbc68af (diff)
downloadgdb-d58fb2d0ac2d6387101af7db79eaa191cf55d6c0.tar.gz
* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
Diffstat (limited to 'gdb')
-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 0e165ca70ae..26ce8b85569 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 0d9fbc28459..f532a58b15f 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))