summaryrefslogtreecommitdiff
path: root/gdb/amd64-linux-tdep.c
diff options
context:
space:
mode:
authorndreys <ndreys>2011-12-11 02:34:26 +0000
committerndreys <ndreys>2011-12-11 02:34:26 +0000
commit49d6aa4ae31872b6c8652e40599d0f838f121261 (patch)
tree6a7bc4f70d210ed36d1784664b876ab43d225a93 /gdb/amd64-linux-tdep.c
parent259780d9e7be98e1d4f26c617e1d4d5ec71ffe72 (diff)
downloadgdb-49d6aa4ae31872b6c8652e40599d0f838f121261.tar.gz
* amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename
`syscall' to `syscall_number'(-Wshadow).
Diffstat (limited to 'gdb/amd64-linux-tdep.c')
-rw-r--r--gdb/amd64-linux-tdep.c4
1 files changed, 2 insertions, 2 deletions
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;