This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [COMMIT] Fix hppa64 return value handling
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 21 Dec 2004 23:07:34 +0100 (CET)
- Subject: Re: [COMMIT] Fix hppa64 return value handling
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