mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
* findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
VALUE_LVAL to be lval_memory so that we don't try to modify wild register numbers when user tries to modify elements in structs passed as arguments. * inflow.c (child_terminal_info): Move banner outside of system specific #ifdefs. * tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which passes struct/union arguments by address.
This commit is contained in:
@@ -41,6 +41,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#define IEEE_FLOAT
|
||||
|
||||
/* When passing a structure to a function, GCC passes the address
|
||||
in a register, not the structure itself. */
|
||||
|
||||
#define REG_STRUCT_HAS_ADDR(gcc_p) (1)
|
||||
|
||||
/* Groan */
|
||||
|
||||
#define ARGS_GROW_DOWN
|
||||
|
||||
Reference in New Issue
Block a user