* amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename
authorAndrey Smirnov <ndreys@sourceware.org>
Sun, 11 Dec 2011 02:34:26 +0000 (02:34 +0000)
committerAndrey Smirnov <ndreys@sourceware.org>
Sun, 11 Dec 2011 02:34:26 +0000 (02:34 +0000)
`syscall' to `syscall_number'(-Wshadow).

gdb/ChangeLog
gdb/amd64-linux-tdep.c

index d02a3dbd09c5ed0f277ffd77d590ed76e058b0b7..ea30ffb0fe7b10dd2bf0fddd45ff3f724f1aaa2f 100644 (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
index 011983802f9049b96df7d53274ce8000788798fe..84b58a0031f5ec7e7bd9d628b362c4af7a58fd4b 100644 (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;