aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-hppa.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tm-hppa.h')
-rw-r--r--gdb/tm-hppa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/tm-hppa.h b/gdb/tm-hppa.h
index 957fc15..872cd0d 100644
--- a/gdb/tm-hppa.h
+++ b/gdb/tm-hppa.h
@@ -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