diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-09-24 16:13:58 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-09-24 16:13:58 +0000 |
commit | 849e9755046dee69b1032fd2a9d9001cd69ca2c7 (patch) | |
tree | 39777ac49b5da8618db0f2266af7c2f1ea30d90c /gdb/i386-tdep.h | |
parent | c1459fd6522c2074924ddca79d447befde2b35cf (diff) | |
download | gdb-849e9755046dee69b1032fd2a9d9001cd69ca2c7.zip gdb-849e9755046dee69b1032fd2a9d9001cd69ca2c7.tar.gz gdb-849e9755046dee69b1032fd2a9d9001cd69ca2c7.tar.bz2 |
Revert use of memory_args_by_pointer 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: memory args passed by pointer during function calls.
(the x64-windows portion has already been reverted)
gdb/ChangeLog:
Revert:
* 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.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r-- | gdb/i386-tdep.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 8113dcc..0c408fa 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -85,15 +85,6 @@ struct gdbarch_tdep the result in CLASS. Used on amd64 only. */ void (*classify) (struct type *type, enum amd64_reg_class class[2]); - /* Non-zero if the first few MEMORY arguments should be passed by - pointer. - - More precisely, MEMORY arguments are passed through the stack. - But certain architectures require that their address be passed - by register as well, if there are still some integer registers - available for argument passing. */ - int memory_args_by_pointer; - /* Floating-point registers. */ struct regset *fpregset; size_t sizeof_fpregset; |