* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
authorJeff Law <law@redhat.com>
Wed, 7 Aug 1996 16:32:44 +0000 (16:32 +0000)
committerJeff Law <law@redhat.com>
Wed, 7 Aug 1996 16:32:44 +0000 (16:32 +0000)
        structures > 4 bytes in size.
Fixing more structure return problems.

gdb/ChangeLog
gdb/config/pa/tm-hppa.h

index 63f8ea023bf81516adbcd2c567d88178c7e16eee..63a4ac171b66fbe89c2fc3de9fdadbb585b837a3 100644 (file)
@@ -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.
index 61df3c5de5e92632a2a04bc7657fdb15e215968b..01c5a46615db9c6f5ac1fd2afb93b398e5d1ac2e 100644 (file)
@@ -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)); \
   }