OSDN Git Service

2004-05-24 Randolph Chung <tausq@debian.org>
authortausq <tausq>
Mon, 24 May 2004 15:36:26 +0000 (15:36 +0000)
committertausq <tausq>
Mon, 24 May 2004 15:36:26 +0000 (15:36 +0000)
* hppa-tdep.c: Fix handling of 8-byte structures; they should not
be "small_struct".

gdb/ChangeLog
gdb/hppa-tdep.c

index cd4b054..897eb2b 100644 (file)
@@ -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
index 4adefed..52176ee 100644 (file)
@@ -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;
            }