aboutsummaryrefslogtreecommitdiff
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
commit1da28ab05f6e368b4be1b53e1c2bb887b635994c (patch)
tree185b3b6e9fa1b8372ea1b0f54a50f8c3deb9a3b1
parentbc97b3ba79f2ca091064cc3e1c39926bedaaeb08 (diff)
downloadfsf-binutils-gdb-1da28ab05f6e368b4be1b53e1c2bb887b635994c.zip
fsf-binutils-gdb-1da28ab05f6e368b4be1b53e1c2bb887b635994c.tar.gz
fsf-binutils-gdb-1da28ab05f6e368b4be1b53e1c2bb887b635994c.tar.bz2
* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
-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))