From: Ulrich Weigand Date: Fri, 26 Mar 2010 16:41:54 +0000 (+0000) Subject: * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b;p=binutils-gdb.git * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ae7ec16666..7cfac07ae66 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-26 Ulrich Weigand + + * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left. + 2010-03-26 Pedro Alves * tracepoint.c (current_trace_status): Don't make sure error_desc diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ded2a556226..354154f65c2 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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);