diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-09-24 16:13:49 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-09-24 16:13:49 +0000 |
commit | c1459fd6522c2074924ddca79d447befde2b35cf (patch) | |
tree | 7c12e1e93c99ebcd75f432072c31f9339fdc89d3 /gdb/amd64-tdep.c | |
parent | 20c2e3e0a3f61aa9f1ee50618a969e0b51225be3 (diff) | |
download | gdb-c1459fd6522c2074924ddca79d447befde2b35cf.zip gdb-c1459fd6522c2074924ddca79d447befde2b35cf.tar.gz gdb-c1459fd6522c2074924ddca79d447befde2b35cf.tar.bz2 |
Revert use of integer_param_regs_saved_in_caller_frame in i386 gdbarch_tdep.
This is no longer useful, as it was introduced to reuse the funcall
handling code in amd64-tdep.c in the context of x64-windows. But
we have since then changed the implementations to be completely
independent of each other.
This reverts the non-windows-specific part of the change called:
amd64-windows: 32 bytes allocated on stack by caller for integer
parameter regs
(the x64-windows portion has already been reverted)
gdb/ChangeLog:
Revert:
* i386-tdep.h (struct gdbarch_tdep): Add new field
integer_param_regs_saved_in_caller_frame.
* amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
stack if tdep->integer_param_regs_saved_in_caller_frame is set.
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 3ab74f0..ec6bfc6 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -926,11 +926,6 @@ amd64_push_dummy_call (struct gdbarch *gdbarch, struct value *function, regcache_cooked_write (regcache, arg_regnum, buf); } - /* Reserve some memory on the stack for the integer-parameter registers, - if required by the ABI. */ - if (tdep->integer_param_regs_saved_in_caller_frame) - sp -= tdep->call_dummy_num_integer_regs * 8; - /* Store return address. */ sp -= 8; store_unsigned_integer (buf, 8, byte_order, bp_addr); |