diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/breakpoint.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ae7ec1..7cfac07 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ded2a55..354154f 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); |