diff options
author | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-05 03:48:29 +0000 |
---|---|---|
committer | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-05 03:48:29 +0000 |
commit | a5ff83562895fa7659dc0f8802febf9b2b5d377b (patch) | |
tree | 68061ed8b54e292bde0e433df54c30dddce81215 /gdb | |
parent | 1850f7144d06d0a1d379b90e2bd096e84fd146fc (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/amd64-tdep.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 256353c..7be3d17 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-12-05 Andrey Smirnov <andrew.smirnov@gmail.com> + * amd64-tdep.c (amd64_push_dummy_call): Remove nested definition + of `tdep'(-Wshadow). + 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com> Fix compilation --without-expat. 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]; |