* breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.

This commit is contained in:
Ulrich Weigand 2010-03-26 16:41:54 +00:00
parent a609a0c8ae
commit dde2d684b0
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-03-26 Ulrich Weigand <uweigand@de.ibm.com>
* breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.
2010-03-26 Pedro Alves <pedro@codesourcery.com>
* tracepoint.c (current_trace_status): Don't make sure error_desc

View File

@ -2986,6 +2986,7 @@ bpstat_clear_actions (bpstat bs)
for (; bs != NULL; bs = bs->next)
{
decref_counted_command_line (&bs->commands);
bs->commands_left = NULL;
if (bs->old_val != NULL)
{
value_free (bs->old_val);