diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-12-21 22:06:40 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-12-21 22:06:40 +0000 |
commit | 9738b0348b0a9ff5ee2ad28773800a6012429376 (patch) | |
tree | 1ffef886cafeffbee5c6a88d1ba5207873c46125 | |
parent | 08a27113311ada841ac76f18f5be7fe38eb1cc5a (diff) | |
download | gdb-9738b0348b0a9ff5ee2ad28773800a6012429376.zip gdb-9738b0348b0a9ff5ee2ad28773800a6012429376.tar.gz gdb-9738b0348b0a9ff5ee2ad28773800a6012429376.tar.bz2 |
* hppa-tdep.c (hppa64_return_value): Fix previous commit.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b789c3..639d287 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 122fc9f..97dcc0d 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -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 |