2011-03-04 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 18:58:22 +0000 (18:58 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 4 Mar 2011 18:58:22 +0000 (18:58 +0000)
* breakpoint.c (create_breakpoint): Add missing break statement.

gdb/ChangeLog
gdb/breakpoint.c

index a79e62c0f253d33ce2628c8bc384e8d1bb4517f0..12a6431b7abe166df2aeff9c9aefd5b1d0f47987 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-04  Michael Snyder  <msnyder@vmware.com>
 
+       * breakpoint.c (create_breakpoint): Add missing break statement.
+
        Reverting this patch:
        * infcall.c (call_function_by_hand): Add break statements for lint.
 
index 3fb8aab5fb08d5c3add7ed09c881e518c80521aa..cea74054f088ac7838a354de47107177183578ca 100644 (file)
@@ -7843,6 +7843,7 @@ create_breakpoint (struct gdbarch *gdbarch,
        default:
          throw_exception (e);
        }
+      break;
     default:
       if (!sals.nelts)
        return 0;