diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-23 12:35:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-23 12:35:23 +0000 |
commit | 98760eab33f4963e075077cb094f9f195ca33d01 (patch) | |
tree | 60590f385f7cdd40ccf6ce14fa0437140b19686a /gdb/hppa-tdep.c | |
parent | 554eb429e4555ceaa7892a8ab93c7a41045a6824 (diff) | |
download | gdb-98760eab33f4963e075077cb094f9f195ca33d01.zip gdb-98760eab33f4963e075077cb094f9f195ca33d01.tar.gz gdb-98760eab33f4963e075077cb094f9f195ca33d01.tar.bz2 |
CARP: Convert macro definitions of USE_STRUCT_CONVENTION into target
specific functions.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 0ecbc85..ff0318a 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -110,6 +110,16 @@ static void internalize_unwinds PARAMS ((struct objfile *, static void pa_print_registers PARAMS ((char *, int, int)); static void pa_print_fp_reg PARAMS ((int)); + +/* Should call_function allocate stack space for a struct return? */ +int +hppa_use_struct_convention (gcc_p, type) + int gcc_p; + struct type *type; +{ + return (TYPE_LENGTH (type) > 8); +} + /* Routines to extract various sized constants out of hppa instructions. */ |