diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2009-10-30 17:34:53 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2009-10-30 17:34:53 +0000 |
commit | 5d4e2b767e44cee2c4c2ecff7e37c35376b94826 (patch) | |
tree | 72a4ba02c92eb9d1325f1a9e39a6ad7d621eb64d /gdb/mi/mi-cmd-break.c | |
parent | b6cdf8aeedfdd676071a057e861d37a4e81be416 (diff) | |
download | gdb-5d4e2b767e44cee2c4c2ecff7e37c35376b94826.zip gdb-5d4e2b767e44cee2c4c2ecff7e37c35376b94826.tar.gz gdb-5d4e2b767e44cee2c4c2ecff7e37c35376b94826.tar.bz2 |
Fix breakpoint commands in MI.
* mi/mi-main.c (mi_execute_command): Run bpstat_do_actions.
* mi/mi-cmd-break.c (mi_cmd_break_commands): Pass 1 to
read_command_line_1 to actually parse composite commands.
Diffstat (limited to 'gdb/mi/mi-cmd-break.c')
-rw-r--r-- | gdb/mi/mi-cmd-break.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c index 9ab8f2d..7b782bd 100644 --- a/gdb/mi/mi-cmd-break.c +++ b/gdb/mi/mi-cmd-break.c @@ -298,7 +298,7 @@ mi_cmd_break_commands (char *command, char **argv, int argc) mi_command_line_array_ptr = 1; mi_command_line_array_cnt = argc; - break_command = read_command_lines_1 (mi_read_next_line, 0); + break_command = read_command_lines_1 (mi_read_next_line, 1); breakpoint_set_commands (b, break_command); } |