aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 19:58:12 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 19:58:12 +0000
commite0f069a3eab288fb959c7f0bf20c7595c38d8510 (patch)
tree44b741c69c76a0a3b099071fd0f52155eb7ffcfc /gdb
parent789d24f07f3338bb10200d68568859280dc6f537 (diff)
downloadgdb-e0f069a3eab288fb959c7f0bf20c7595c38d8510.zip
gdb-e0f069a3eab288fb959c7f0bf20c7595c38d8510.tar.gz
gdb-e0f069a3eab288fb959c7f0bf20c7595c38d8510.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* linux-record.c (record_linux_system_call): Delete unused variables.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/linux-record.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2746874..bd5ba0c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2010-05-05 Michael Snyder <msnyder@vmware.com>
+ * linux-record.c (record_linux_system_call):
+ Delete unused variables.
+
* corelow.c (core_xfer_partial): Delete unused variables.
* solib-svr4.c (find_program_interpreter): Delete unused variable.
diff --git a/gdb/linux-record.c b/gdb/linux-record.c
index 74ef9bd..6692ec1 100644
--- a/gdb/linux-record.c
+++ b/gdb/linux-record.c
@@ -829,8 +829,6 @@ record_linux_system_call (enum gdb_syscall syscall,
if (tmpulongest)
{
gdb_byte *a = alloca (tdep->size_ulong * 2);
- int addrlen;
- gdb_byte *addrlenp;
ULONGEST len;
tmpulongest += tdep->size_ulong;
@@ -892,8 +890,6 @@ record_linux_system_call (enum gdb_syscall syscall,
if (tmpulongest)
{
gdb_byte *a = alloca (tdep->size_ulong * 2);
- int addrlen;
- gdb_byte *addrlenp;
ULONGEST len;
tmpulongest += tdep->size_ulong * 4;