[COMMIT] Fix hppa64 return value handling
Mark Kettenis
kettenis@gnu.org
Tue Dec 21 22:51:00 GMT 2004
Sorry folks, broke it before committing. Thought an extra gdb_assert
wouldn't hurt. Bit I should have at least compiled it ;-(.
This patch makes things build again.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* hppa-tdep.c (hppa64_return_value): Fix previous commit.
Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.196
diff -u -p -r1.196 hppa-tdep.c
--- hppa-tdep.c 21 Dec 2004 21:36:28 -0000 1.196
+++ hppa-tdep.c 21 Dec 2004 22:03:28 -0000
@@ -1084,8 +1084,8 @@ hppa64_return_value (struct gdbarch *gdb
{
/* 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
More information about the Gdb-patches
mailing list