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 /gdb/breakpoint.c | |
parent | a609a0c8aea65ad85b9be6a7cb5a18d4a1d2ea68 (diff) | |
download | gdb-dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b.zip gdb-dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b.tar.gz gdb-dde2d684b0d148d26ad0c7ea8765dc051cbf9a5b.tar.bz2 |
* breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |