aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-02 20:55:13 +0000
committerRichard Henderson <rth@redhat.com>2003-06-02 20:55:13 +0000
commitf75d70ccb305eff2b50813ee81d2602394f57983 (patch)
tree0c6987353d7eea6cf7f2a40be405fea853ed37ba /gdb/alpha-tdep.c
parent67dfac52328469df1fb78b8fe42812237f86fe58 (diff)
downloadgdb-f75d70ccb305eff2b50813ee81d2602394f57983.zip
gdb-f75d70ccb305eff2b50813ee81d2602394f57983.tar.gz
gdb-f75d70ccb305eff2b50813ee81d2602394f57983.tar.bz2
* alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 9e69eda..508f0b9 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -503,8 +503,8 @@ alpha_store_return_value (struct type *valtype, struct regcache *regcache,
{
case 4:
alpha_convert_flt_dbl (raw_buffer, valbuf);
- valbuf = raw_buffer;
- /* FALLTHRU */
+ regcache_cooked_write (regcache, ALPHA_FP0_REGNUM, raw_buffer);
+ break;
case 8:
regcache_cooked_write (regcache, ALPHA_FP0_REGNUM, valbuf);