diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-19 14:48:51 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-04 22:04:46 -0600 |
commit | 15c9ffd6977a93869243dce04988cbaa8340bb00 (patch) | |
tree | a6f65b444e594c5c9da9e1f78ed85b74adfdf0fd /gdb/mi | |
parent | e3829d13f6d0615f663d2a85ef4281a4365a947c (diff) | |
download | gdb-15c9ffd6977a93869243dce04988cbaa8340bb00.zip gdb-15c9ffd6977a93869243dce04988cbaa8340bb00.tar.gz gdb-15c9ffd6977a93869243dce04988cbaa8340bb00.tar.bz2 |
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".
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 1 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 443d1ed..52660bd 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 51d0a26..13556d4 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; |