aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.c
diff options
context:
space:
mode:
authorAndrey Smirnov <ndreys@sourceware.org>2011-12-05 03:48:29 +0000
committerAndrey Smirnov <ndreys@sourceware.org>2011-12-05 03:48:29 +0000
commita5ff83562895fa7659dc0f8802febf9b2b5d377b (patch)
tree68061ed8b54e292bde0e433df54c30dddce81215 /gdb/amd64-tdep.c
parent1850f7144d06d0a1d379b90e2bd096e84fd146fc (diff)
downloadgdb-a5ff83562895fa7659dc0f8802febf9b2b5d377b.zip
gdb-a5ff83562895fa7659dc0f8802febf9b2b5d377b.tar.gz
gdb-a5ff83562895fa7659dc0f8802febf9b2b5d377b.tar.bz2
* amd64-tdep.c (amd64_push_dummy_call): Remove nested definition
of `tdep'(-Wshadow).
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r--gdb/amd64-tdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index bd31e54..803a20f 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -878,7 +878,6 @@ amd64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
/* Pass "hidden" argument". */
if (struct_return)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
/* The "hidden" argument is passed throught the first argument
register. */
const int arg_regnum = tdep->call_dummy_integer_regs[0];