diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-01-03 23:24:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-01-03 23:24:57 +0000 |
commit | 5154b0cdb15aac5c61bcad9ff95b1f2b87c5fd0a (patch) | |
tree | 0c02a784e69765b8ca2eba756ee96578de3584bf /gdb/sparc64-tdep.c | |
parent | 696419f58e6aaf3ef16149842b4809e2d8c42583 (diff) | |
download | gdb-5154b0cdb15aac5c61bcad9ff95b1f2b87c5fd0a.zip gdb-5154b0cdb15aac5c61bcad9ff95b1f2b87c5fd0a.tar.gz gdb-5154b0cdb15aac5c61bcad9ff95b1f2b87c5fd0a.tar.bz2 |
* sparc64-tdep.c (sparc64_store_floating_fields): Update comment
such that it mentions a specific version of GCC that exhibits this
bug.
Diffstat (limited to 'gdb/sparc64-tdep.c')
-rw-r--r-- | gdb/sparc64-tdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index bf3aeca..7e70791 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -674,8 +674,10 @@ sparc64_store_floating_fields (struct regcache *regcache, struct type *type, at all, but rather as an ordinary `float' argument. This argument will be stored in %f1, as required by the psABI. However, as a member of a structure the psABI requires it to - be stored in. To appease GCC, if a structure has only a - single `float' member, we store its value in %f1 too. */ + be stored in %f0. This bug is present in GCC 3.3.2, but + probably in older releases to. To appease GCC, if a + structure has only a single `float' member, we store its + value in %f1 too (we already have stored in %f0). */ if (TYPE_NFIELDS (type) == 1) { struct type *subtype = check_typedef (TYPE_FIELD_TYPE (type, 0)); |