From: Andrey Smirnov Date: Sun, 11 Dec 2011 02:34:26 +0000 (+0000) Subject: * amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ed936ec4704c1d9347f89f25009260f384062e9;p=binutils-gdb.git * amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename `syscall' to `syscall_number'(-Wshadow). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d02a3dbd09c..ea30ffb0fe7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-12-10 Andrey Smirnov + + * amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename + `syscall' to `syscall_number'(-Wshadow). + 2011-12-10 Andrey Smirnov * ada-lang.c (remove_extra_symbols): Rename `remove' to diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c index 011983802f9..84b58a0031f 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;