aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-windows-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-29 05:21:55 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-29 05:21:55 +0000
commit80d19a06216c670b34c40f58d3773ff4436cf96a (patch)
tree158d60f6560a67a98c87f316054ce3b69be6e76c /gdb/amd64-windows-tdep.c
parentba581dc13b5e3ca555a49df501d5ac74287f504d (diff)
downloadgdb-80d19a06216c670b34c40f58d3773ff4436cf96a.zip
gdb-80d19a06216c670b34c40f58d3773ff4436cf96a.tar.gz
gdb-80d19a06216c670b34c40f58d3773ff4436cf96a.tar.bz2
amd64-windows: memory args passed by pointer during function calls.
* i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer. * amd64-tdep.c (amd64_push_arguments): Add handling of architectures where tdep->memory_args_by_pointer is non-zero. * amd64-windows-tdep.c (amd64_windows_init_abi): Set tdep->memory_args_by_pointer to 1.
Diffstat (limited to 'gdb/amd64-windows-tdep.c')
-rw-r--r--gdb/amd64-windows-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
index b5a0035..0ed9368 100644
--- a/gdb/amd64-windows-tdep.c
+++ b/gdb/amd64-windows-tdep.c
@@ -83,6 +83,7 @@ amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
ARRAY_SIZE (amd64_windows_dummy_call_integer_regs);
tdep->call_dummy_integer_regs = amd64_windows_dummy_call_integer_regs;
tdep->classify = amd64_windows_classify;
+ tdep->memory_args_by_pointer = 1;
set_solib_ops (gdbarch, &solib_target_so_ops);
}