diff options
author | Randolph Chung <tausq@debian.org> | 2004-05-24 15:36:31 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-05-24 15:36:31 +0000 |
commit | 1b07b470630c522f6c6ee5d4522ca6d0a6ab2d89 (patch) | |
tree | 4f7335da3a2ed4eeeb4c3de515bf852bb32eacc6 | |
parent | c6f8758fa0f5da56239e385de0c763ebee78d4aa (diff) | |
download | gdb-1b07b470630c522f6c6ee5d4522ca6d0a6ab2d89.zip gdb-1b07b470630c522f6c6ee5d4522ca6d0a6ab2d89.tar.gz gdb-1b07b470630c522f6c6ee5d4522ca6d0a6ab2d89.tar.bz2 |
2004-05-24 Randolph Chung <tausq@debian.org>
* hppa-tdep.c: Fix handling of 8-byte structures; they should not
be "small_struct".
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cd4b054..897eb2b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-05-24 Randolph Chung <tausq@debian.org> + + * hppa-tdep.c: Fix handling of 8-byte structures; they should not + be "small_struct". + 2004-05-24 Mark Kettenis <kettenis@gnu.org> * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 4adefed..52176ee 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -790,7 +790,7 @@ hppa32_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr, the higher-ordered word is stored in the lower-ordered argument, and even though it is a 8-byte quantity the registers need not be 8-byte aligned. */ - if (param_len > 4) + if (param_len > 4 && param_len < 8) small_struct = 1; } |