diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-08-26 21:45:24 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-08-26 21:45:24 +0000 |
commit | 353d1d731afffb8550c9451e783b02be4121f461 (patch) | |
tree | 96be8c17fc0bb39b58c322ab3f50deed741f526e /gdb/ChangeLog | |
parent | 5c07461a748143e1ad1931bd0f5054aabde9c306 (diff) | |
download | binutils-gdb-353d1d731afffb8550c9451e783b02be4121f461.tar.gz |
gdb/
* breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call
make_bpstat_clear_actions_cleanup and discard_cleanups for it.
* defs.h (make_bpstat_clear_actions_cleanup): New declaration.
* exceptions.c (throw_exception): Remove the bpstat_clear_actions call.
* inf-loop.c (inferior_event_handler): New variable cleanup_if_error,
call make_bpstat_clear_actions_cleanup and discard_cleanups for it.
Call bpstat_clear_actions for failed fetch_inferior_event_wrapper.
* infrun.c (fetch_inferior_event): Call
make_bpstat_clear_actions_cleanup.
* top.c (execute_command): New variable cleanup_if_error, call
make_bpstat_clear_actions_cleanup and discard_cleanups for it.
* utils.c (do_bpstat_clear_actions_cleanup)
(make_bpstat_clear_actions_cleanup): New functions.
gdb/testsuite/
* gdb.base/commands.exp (error_clears_commands_left): New function.
(): Call it.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4dfe8ab394..df070d7e631 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,19 @@ +2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com> + + * breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call + make_bpstat_clear_actions_cleanup and discard_cleanups for it. + * defs.h (make_bpstat_clear_actions_cleanup): New declaration. + * exceptions.c (throw_exception): Remove the bpstat_clear_actions call. + * inf-loop.c (inferior_event_handler): New variable cleanup_if_error, + call make_bpstat_clear_actions_cleanup and discard_cleanups for it. + Call bpstat_clear_actions for failed fetch_inferior_event_wrapper. + * infrun.c (fetch_inferior_event): Call + make_bpstat_clear_actions_cleanup. + * top.c (execute_command): New variable cleanup_if_error, call + make_bpstat_clear_actions_cleanup and discard_cleanups for it. + * utils.c (do_bpstat_clear_actions_cleanup) + (make_bpstat_clear_actions_cleanup): New functions. + 2011-08-26 Pedro Alves <pedro@codesourcery.com> * linux-nat.c (linux_child_follow_fork): Don't set lp->resumed on |