Code cleanup.
	* breakpoint.c (bpstat_clear_actions): Remove clearing of commands_left.
	(command_line_is_silent): New function.
	(bpstat_do_actions_1): No longer use commands_left, use
	command_line_is_silent for commands.
	(bpstat_alloc): Remove clearing of commands_left.
	(bpstat_stop_status): Remove initialization of commands_left, use
	command_line_is_silent.
	* breakpoint.h (struct bpstats): Remove commands_left.
This commit is contained in:
Jan Kratochvil
2011-08-21 14:33:07 +00:00
parent 66c70f7d55
commit abf85f464b
3 changed files with 33 additions and 20 deletions

View File

@ -950,10 +950,6 @@ struct bpstats
/* The associated command list. */
struct counted_command_line *commands;
/* Commands left to be done. This points somewhere in
base_command. */
struct command_line *commands_left;
/* Old value associated with a watchpoint. */
struct value *old_val;