diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2010-03-26 16:41:54 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2010-03-26 16:41:54 +0000 |
commit | dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b (patch) | |
tree | fd1877cfc23601e58f531dc826339938b64eae14 | |
parent | a609a0c8aea65ad85b9be6a7cb5a18d4a1d2ea68 (diff) | |
download | gdb-dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b.zip gdb-dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b.tar.gz gdb-dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b.tar.bz2 |
* breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.
-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); |