diff options
author | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-11 02:34:26 +0000 |
---|---|---|
committer | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-11 02:34:26 +0000 |
commit | 9ed936ec4704c1d9347f89f25009260f384062e9 (patch) | |
tree | 45512d2a68cf4b020dda662b1a763b7dcc1cb3dc /gdb/amd64-linux-tdep.c | |
parent | a35ddb4476da3a002ea623ad3e1ac72821f9f0be (diff) | |
download | gdb-9ed936ec4704c1d9347f89f25009260f384062e9.zip gdb-9ed936ec4704c1d9347f89f25009260f384062e9.tar.gz gdb-9ed936ec4704c1d9347f89f25009260f384062e9.tar.bz2 |
* 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |