* hppa-tdep.c (hppa64_return_value): Fix previous commit.
authorMark Kettenis <kettenis@gnu.org>
Tue, 21 Dec 2004 22:06:40 +0000 (22:06 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 21 Dec 2004 22:06:40 +0000 (22:06 +0000)
gdb/ChangeLog
gdb/hppa-tdep.c

index 4b789c3..639d287 100644 (file)
@@ -1,5 +1,9 @@
 2004-12-21  Mark Kettenis  <kettenis@gnu.org>
 
+       * hppa-tdep.c (hppa64_return_value): Fix previous commit.
+
+2004-12-21  Mark Kettenis  <kettenis@gnu.org>
+
        * hppa-tdep.c (hppa32_return_value): Move further down.
        (hppa64_return_value): Re-implement.
 
index 122fc9f..97dcc0d 100644 (file)
@@ -1084,8 +1084,8 @@ hppa64_return_value (struct gdbarch *gdbarch,
     {
       /* All return values larget than 128 bits must be aggregate
          return values.  */
-      gdb_assert (!hppa64_integral_or_pointer_p());
-      gdb_assert (!hppa64_floating_p());
+      gdb_assert (!hppa64_integral_or_pointer_p (type));
+      gdb_assert (!hppa64_floating_p (type));
 
       /* "Aggregate return values larger than 128 bits are returned in
         a buffer allocated by the caller.  The address of the buffer