diff options
author | Jeff Law <law@redhat.com> | 1996-08-07 16:05:19 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-08-07 16:05:19 +0000 |
commit | 0d43c8e71131733b3e5d50df8454b2fbd7ac0c76 (patch) | |
tree | 06cf45175c5cd1e0e7543f94bd91ec7e732cd598 /gdb/hppa-tdep.c | |
parent | * i386-dis.c (print_insn_i386): Actually return the correct value. (diff) | |
download | binutils-gdb-0d43c8e71131733b3e5d50df8454b2fbd7ac0c76.tar.gz binutils-gdb-0d43c8e71131733b3e5d50df8454b2fbd7ac0c76.tar.bz2 binutils-gdb-0d43c8e71131733b3e5d50df8454b2fbd7ac0c76.zip |
* valops.c (call_function_by_hand): Handle aligning stacks that
grow up correctly.
* config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
(STACK_ALIGN): Define.
* hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
alignment on structs/unions.
Fixing assorted structure passing/return problems reported by the net.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 63183a4c0f1..77faf25ad72 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -1797,7 +1797,7 @@ hppa_alignof (type) return hppa_alignof (TYPE_FIELD_TYPE (type, 0)); case TYPE_CODE_STRUCT: case TYPE_CODE_UNION: - max_align = 2; + max_align = 1; for (i = 0; i < TYPE_NFIELDS (type); i++) { /* Bit fields have no real alignment. */ |