OSDN Git Service

Implement -break-commands
authorvprus <vprus>
Mon, 3 Aug 2009 12:38:59 +0000 (12:38 +0000)
committervprus <vprus>
Mon, 3 Aug 2009 12:38:59 +0000 (12:38 +0000)
commitfccc7becf0de855eb9330bc80ca02b1a6c7eeaf0
tree4017a208b0666bcc3d07aece0d1f4cbfa97c26cd
parent61ed9ac5a5b5e0e0aa3685d700ae1eaf1f5af255
Implement -break-commands

* breakpoint.c (get_breakpoint, breakpoint_set_commands): New.
(commands_command): Use breakpoint_set_commands.
* breakpoint.h (get_breakpoint, breakpoint_set_commands): Declare.

* mi/mi-cmds.h (mi_cmd_break_commands): New.
* mi/mi-cmds.c: Register -break-commands.
* mi/mi-cmd-break.c (mi_cmd_break_commands, mi_read_next_line)
(mi_command_line_array, mi_command_line_array_cnt)
(mi_command_line_array_ptr): New.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/mi/mi-cmd-break.c
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-break.exp
gdb/testsuite/lib/mi-support.exp