* amd64-tdep.c (amd64_push_dummy_call): Remove nested definition
of `tdep'(-Wshadow).
This commit is contained in:
parent
1850f7144d
commit
a5ff835628
@ -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.
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user