2004-01-05 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 5 Jan 2004 23:09:45 +0000 (23:09 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 5 Jan 2004 23:09:45 +0000 (23:09 +0000)
* ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
should be a switch case and not a label.
* mips-tdep.c (mips32_next_pc): Delete unused labels
"greater_equal_branch" and "less_zero_branch".
* jv-valprint.c (java_print_value_fields): Delete unused label
"flush_it".

gdb/ChangeLog
gdb/jv-valprint.c
gdb/mips-tdep.c
gdb/ser-unix.c

index 4a0ba8be9dad49ad2de62e5717752570d5b4254d..2152f27c5b238c46389e96f3a640f539b856b83f 100644 (file)
@@ -1,5 +1,12 @@
 2004-01-05  Andrew Cagney  <cagney@redhat.com>
 
+       * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
+       should be a switch case and not a label.
+       * mips-tdep.c (mips32_next_pc): Delete unused labels
+       "greater_equal_branch" and "less_zero_branch".
+       * jv-valprint.c (java_print_value_fields): Delete unused label
+       "flush_it".
+
        * target.c (unpush_target): Only close a target that is in the
        target stack.
 
index 1875eefb49586d24c58e5c726c9fe89a7299451a..9756004f032526360a4f67c0544638603708c1a6 100644 (file)
@@ -298,9 +298,6 @@ java_print_value_fields (struct type *type, char *valaddr, CORE_ADDR address,
          java_print_value_fields (baseclass, base_valaddr, address + boffset,
                                   stream, format, recurse + 1, pretty);
          fputs_filtered (", ", stream);
-
-       flush_it:
-         ;
        }
 
     }
index 2c3e8c27090121babba96eef0b454faf3420dcdc..406467a45f7e9120d561ffa3c7262ea956186bf2 100644 (file)
@@ -1083,7 +1083,6 @@ mips32_next_pc (CORE_ADDR pc)
              case 3:           /* BGEZL */
              case 17:          /* BGEZAL */
              case 19:          /* BGEZALL */
-             greater_equal_branch:
                if (read_signed_register (itype_rs (inst)) >= 0)
                  pc += mips32_relative_offset (inst) + 4;
                else
@@ -1129,7 +1128,6 @@ mips32_next_pc (CORE_ADDR pc)
            pc += 8;
          break;
        case 6:         /* BLEZ, BLEZL */
-       less_zero_branch:
          if (read_signed_register (itype_rs (inst) <= 0))
            pc += mips32_relative_offset (inst) + 4;
          else
index e7a5d93cef5fe8921ef293c1da8967de2156b86c..0b73958d82c5ce6d2c9074a3e2c6780a198a1b3f 100644 (file)
@@ -1324,7 +1324,7 @@ ser_unix_async (struct serial *scb,
        case FD_SCHEDULED:
          delete_file_handler (scb->fd);
          break;
-       NOTHING_SCHEDULED:
+       case NOTHING_SCHEDULED:
          break;
        default: /* TIMER SCHEDULED */
          delete_timer (scb->async_state);