diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/amd64-linux-tdep.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d02a3db..ea30ffb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com> + * amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename + `syscall' to `syscall_number'(-Wshadow). + +2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com> + * ada-lang.c (remove_extra_symbols): Rename `remove' to `remove_p'(-Wshadow). diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c index 0119838..84b58a0 100644 --- a/gdb/amd64-linux-tdep.c +++ b/gdb/amd64-linux-tdep.c @@ -339,9 +339,9 @@ amd64_all_but_ip_registers_record (struct regcache *regcache) process record. */ static enum gdb_syscall -amd64_canonicalize_syscall (enum amd64_syscall syscall) +amd64_canonicalize_syscall (enum amd64_syscall syscall_number) { - switch (syscall) { + switch (syscall_number) { case amd64_sys_read: return gdb_sys_read; |