This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Code cleanup: Remove commands_left [Do not bpstat_clear_actions on throw_exception]
On Thu, 18 Aug 2011 21:04:40 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> 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.
Checked in:
http://sourceware.org/ml/gdb-cvs/2011-08/msg00094.html
Thanks,
Jan