diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-29 05:27:36 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-29 05:27:36 +0000 |
commit | 3af6ddfec6363b97f9c850fef9f33e3bd2ad259c (patch) | |
tree | 7074dc990811de7f0acc59fd2f8103add8a08833 /gdb/amd64-windows-tdep.c | |
parent | 4966b6c22876c227576d85cb4045080345d4b41e (diff) | |
download | gdb-3af6ddfec6363b97f9c850fef9f33e3bd2ad259c.zip gdb-3af6ddfec6363b97f9c850fef9f33e3bd2ad259c.tar.gz gdb-3af6ddfec6363b97f9c850fef9f33e3bd2ad259c.tar.bz2 |
amd64-windows: 32 bytes allocated on stack by caller for integer parameter registers
* i386-tdep.h (struct gdbarch_tdep): Add new field
integer_param_regs_saved_in_caller_frame.
* amd64-windows-tdep.c (amd64_windows_init_abi): Set
tdep->integer_param_regs_saved_in_caller_frame to 1.
* 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-windows-tdep.c')
-rw-r--r-- | gdb/amd64-windows-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c index 0ed9368..05c4c1e 100644 --- a/gdb/amd64-windows-tdep.c +++ b/gdb/amd64-windows-tdep.c @@ -84,6 +84,7 @@ amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tdep->call_dummy_integer_regs = amd64_windows_dummy_call_integer_regs; tdep->classify = amd64_windows_classify; tdep->memory_args_by_pointer = 1; + tdep->integer_param_regs_saved_in_caller_frame = 1; set_solib_ops (gdbarch, &solib_target_so_ops); } |