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  <tom@tromey.com>

	* mi/mi-main.c (mi_cmd_trace_frame_collected) <REGISTERS_FORMAT>:
	Add missing "break".
	* mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) <NO_FRAME_FILTERS>:
	Add missing "break".
This commit is contained in:
Tom Tromey 2018-04-19 14:48:51 -06:00
parent e3829d13f6
commit 15c9ffd697
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2018-05-04 Tom Tromey <tom@tromey.com>
* mi/mi-main.c (mi_cmd_trace_frame_collected) <REGISTERS_FORMAT>:
Add missing "break".
* mi/mi-cmd-stack.c (mi_cmd_stack_list_locals) <NO_FRAME_FILTERS>:
Add missing "break".
2018-05-04 Tom Tromey <tom@tromey.com>
* rs6000-tdep.c (ppc_process_record_op4)

View File

@ -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;

View File

@ -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;