aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-04 18:58:22 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-04 18:58:22 +0000
commit2abae99411dbbced25ad99232ab329ad59578294 (patch)
treee27f0c068b76cb39203a5393bf0c3e80808b4bab /gdb
parent7f5936f9feb7caa5b26a43c489060190dd0f08df (diff)
downloadgdb-2abae99411dbbced25ad99232ab329ad59578294.zip
gdb-2abae99411dbbced25ad99232ab329ad59578294.tar.gz
gdb-2abae99411dbbced25ad99232ab329ad59578294.tar.bz2
2011-03-04 Michael Snyder <msnyder@vmware.com>
* breakpoint.c (create_breakpoint): Add missing break statement.
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;