From 8d038451019eaf10e098095b8cd4f71d35890837 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 7 Aug 1996 16:32:44 +0000 Subject: [PATCH] * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for structures > 4 bytes in size. Fixing more structure return problems. --- gdb/ChangeLog | 3 +++ gdb/config/pa/tm-hppa.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63f8ea023bf..63a4ac171b6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com) + * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for + structures > 4 bytes in size. + * valops.c (call_function_by_hand): Handle aligning stacks that grow up correctly. * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index 61df3c5de5e..01c5a46615d 100644 --- a/gdb/config/pa/tm-hppa.h +++ b/gdb/config/pa/tm-hppa.h @@ -280,7 +280,7 @@ extern void pa_do_registers_info PARAMS ((int, int)); else \ memcpy ((VALBUF), \ (char *)(REGBUF) + REGISTER_BYTE (28) + \ - (TYPE_LENGTH (TYPE) >= 4 ? 0 : 4 - TYPE_LENGTH (TYPE)), \ + (TYPE_LENGTH (TYPE) > 4 ? 8 : 4 - TYPE_LENGTH (TYPE)), \ TYPE_LENGTH (TYPE)); \ } -- 2.30.2