mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-03 07:21:58 +00:00
* 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>
|
2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
Fix compilation --without-expat.
|
Fix compilation --without-expat.
|
||||||
|
@ -878,7 +878,6 @@ amd64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
|||||||
/* Pass "hidden" argument". */
|
/* Pass "hidden" argument". */
|
||||||
if (struct_return)
|
if (struct_return)
|
||||||
{
|
{
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
|
||||||
/* The "hidden" argument is passed throught the first argument
|
/* The "hidden" argument is passed throught the first argument
|
||||||
register. */
|
register. */
|
||||||
const int arg_regnum = tdep->call_dummy_integer_regs[0];
|
const int arg_regnum = tdep->call_dummy_integer_regs[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user