* alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
authorRichard Henderson <rth@redhat.com>
Mon, 2 Jun 2003 20:55:13 +0000 (20:55 +0000)
committerRichard Henderson <rth@redhat.com>
Mon, 2 Jun 2003 20:55:13 +0000 (20:55 +0000)
gdb/ChangeLog
gdb/alpha-tdep.c

index 6bea1542aa59797dae627322e77d8a5128e3d216..329e04d40baa19552785f10e7da791ae235fe876 100644 (file)
@@ -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.
 
index 9e69eda07146ead837c8f1726703083b76bd67d6..508f0b917a8317ad41f520eb85f751bb257c5e7b 100644 (file)
@@ -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);