aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/breakpoint.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a79e62c..12a6431 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 3fb8aab..cea7405 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -7843,6 +7843,7 @@ create_breakpoint (struct gdbarch *gdbarch,
default:
throw_exception (e);
}
+ break;
default:
if (!sals.nelts)
return 0;