aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-05-08 22:34:47 +0000
committerDoug Evans <dje@google.com>2009-05-08 22:34:47 +0000
commit2cda8d2fb13f9501a8dbf0ca50fcb1161a919024 (patch)
tree4c06c0e81feff09974ef53037c3b5c62c62a43eb
parent8e05493cd625c04d85e833687f6b33315b12dd75 (diff)
downloadgdb-2cda8d2fb13f9501a8dbf0ca50fcb1161a919024.zip
gdb-2cda8d2fb13f9501a8dbf0ca50fcb1161a919024.tar.gz
gdb-2cda8d2fb13f9501a8dbf0ca50fcb1161a919024.tar.bz2
* linux-nat.c (linux_xfer_siginfo): Delete unused locals lp, n.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linux-nat.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ffaba42..629ecb0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-08 Doug Evans <dje@google.com>
+
+ * linux-nat.c (linux_xfer_siginfo): Delete unused locals lp, n.
+
2009-05-07 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
* MAINTAINERS (Write After Approval): Add self.
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 0679173..22d721a 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -3261,8 +3261,6 @@ linux_xfer_siginfo (struct target_ops *ops, enum target_object object,
const char *annex, gdb_byte *readbuf,
const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
{
- struct lwp_info *lp;
- LONGEST n;
int pid;
struct siginfo siginfo;
gdb_byte inf_siginfo[sizeof (struct siginfo)];