2010-05-05 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 19:58:12 +0000 (19:58 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 19:58:12 +0000 (19:58 +0000)
* linux-record.c (record_linux_system_call):
Delete unused variables.

gdb/ChangeLog
gdb/linux-record.c

index 274687434da846c0f10430d621cf9a511b343239..bd5ba0cea2f8ae9c325698127c2992621ad9f3cd 100644 (file)
@@ -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.
index 74ef9bd0132a418c5ea479eebd17e863c03c465d..6692ec1f27cb36687f0770ab0cec46b775a198fd 100644 (file)
@@ -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;