old-cross-binutils/gdb/mi
Vladimir Prus a7bdde9e63 Unify actions and commands
* defs.h (read_command_lines, read_command_lines_1): New
	parameters validator and closure.
	* tracepoint.h (struct action_line): Remove.
	* breakpoint.h (struct breakpoint): Remove the 'actions'
	field.
	* defs.h (enum command_control_type): New value
	while_stepping_control.
	(struct command_line): Add comments.
	* breakpoint.c (breakoint_is_tracepoint): New.
	(breakpoint_set_commands): For tracepoints,
	verify the commands are permissible.
	(check_tracepoint_commands): New.
	(commands_command): Require that each new line is validated using
	check_tracepoint_command, if we set commands for a tracepoint.
	(create_tracepoint_from_upload): Likewise.
	(print_one_breakpoint_location): Remove the code to print
	actions specifically.
	(tracepoint_save_command): Relay to print_command_lines.
	* cli/cli-script.c (process_next_line): New parameters validator
	and closure. Handle 'while-stepping'. Call validator if not null.
	(read_command_lines, read_command_lines1): Likewise.
	(recurse_read_control_structure): New parameters validator and
	closure. Handle while_stepping_control.
	(print_command_lines): Handle while-stepping.
	(get_command_line, define_command, document_command): Adjust.
	* remote.c (remote_download_tracepoint): Adjust.
	* tracepoint.c (make_cleanup_free_actions, read_actions)
	(free_actions, do_free_actions_cleanup): Remove.
	(trace_actions_command): Use read_command_lines.
	(validate_actionline): Use error in one place.
	(encode_actions_1): New, extracted from...
	(encode_actions): ...this. Also use cleanups for exception
	safety.
	(trace_dump_command): Adjust.
	* mi/mi-cmd-break (mi_cmd_break_commands): Validate commands if
	it's tracepoint.
2010-03-23 21:32:28 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c Unify actions and commands 2010-03-23 21:32:28 +00:00
mi-cmd-disas.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-cmd-env.c Per-inferior args and tty and environment. 2010-01-20 14:23:07 +00:00
mi-cmd-file.c gdb 2010-03-10 18:20:08 +00:00
mi-cmd-stack.c * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra 2010-02-10 22:22:02 +00:00
mi-cmd-target.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-cmd-var.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-cmds.c Multiexec MI 2010-02-24 07:51:46 +00:00
mi-cmds.h Multiexec MI 2010-02-24 07:51:46 +00:00
mi-common.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-common.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-console.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-console.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-getopt.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-getopt.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-interp.c Multiexec MI 2010-02-24 07:51:46 +00:00
mi-main.c ChangeLog: 2010-03-18 13:25:20 +00:00
mi-main.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-out.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-out.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mi-parse.c gdb 2010-03-05 20:18:19 +00:00
mi-parse.h Multiexec MI 2010-02-24 07:51:46 +00:00
mi-symbol-cmds.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00