diff options
author | Jeff Law <law@redhat.com> | 1996-08-07 16:32:44 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-08-07 16:32:44 +0000 |
commit | 8d038451019eaf10e098095b8cd4f71d35890837 (patch) | |
tree | 6220fc2ca1c9818c45d7651eb437cec15ca452e5 /gdb | |
parent | 9b3307b0a00bbfcab7f79139908765e9f89f785f (diff) | |
download | gdb-8d038451019eaf10e098095b8cd4f71d35890837.zip gdb-8d038451019eaf10e098095b8cd4f71d35890837.tar.gz gdb-8d038451019eaf10e098095b8cd4f71d35890837.tar.bz2 |
* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
structures > 4 bytes in size.
Fixing more structure return problems.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/config/pa/tm-hppa.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63f8ea0..63a4ac1 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 61df3c5..01c5a46 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)); \ } |