diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-02 20:55:13 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-02 20:55:13 +0000 |
commit | f75d70ccb305eff2b50813ee81d2602394f57983 (patch) | |
tree | 0c6987353d7eea6cf7f2a40be405fea853ed37ba /gdb | |
parent | 67dfac52328469df1fb78b8fe42812237f86fe58 (diff) | |
download | gdb-f75d70ccb305eff2b50813ee81d2602394f57983.zip gdb-f75d70ccb305eff2b50813ee81d2602394f57983.tar.gz gdb-f75d70ccb305eff2b50813ee81d2602394f57983.tar.bz2 |
* alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/alpha-tdep.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6bea154..329e04d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2003-06-02 Richard Henderson <rth@redhat.com> + * alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru. + * alpha-tdep.c (alpha_extract_return_value): Use internal_error. (alpha_store_return_value): Likewise. 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); |