* amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename

`syscall' to `syscall_number'(-Wshadow).
This commit is contained in:
Andrey Smirnov 2011-12-11 02:34:26 +00:00
parent a35ddb4476
commit 9ed936ec47
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;