From: Tom Tromey Date: Thu, 19 Apr 2018 20:48:51 +0000 (-0600) Subject: Add missing "breaks" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15c9ffd6977a93869243dce04988cbaa8340bb00;p=binutils-gdb.git Add missing "breaks" This adds a "break" to a couple of spots where it was erroneously omitted. I think these are the two (potential) real bugs caught by this series. 2018-05-04 Tom Tromey * mi/mi-main.c (mi_cmd_trace_frame_collected) : Add missing "break". * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) : Add missing "break". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0deadf4fb1..c2f521cd1e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2018-05-04 Tom Tromey + + * mi/mi-main.c (mi_cmd_trace_frame_collected) : + Add missing "break". + * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) : + Add missing "break". + 2018-05-04 Tom Tromey * rs6000-tdep.c (ppc_process_record_op4) diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 443d1ed4183..52660bdd498 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -245,6 +245,7 @@ mi_cmd_stack_list_locals (const char *command, char **argv, int argc) { case NO_FRAME_FILTERS: raw_arg = oind; + break; case SKIP_UNAVAILABLE: skip_unavailable = 1; break; diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 51d0a268c9a..13556d4d93d 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -2568,6 +2568,7 @@ mi_cmd_trace_frame_collected (const char *command, char **argv, int argc) break; case REGISTERS_FORMAT: registers_format = oarg[0]; + break; case MEMORY_CONTENTS: memory_contents = 1; break;