diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-23 18:58:36 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2019-01-23 19:14:44 +0000 |
commit | 979a0d1304ac7d73c9887f851e811d49752923fb (patch) | |
tree | ff14170dce37fd7b0cbfd27d14e7ee08b059dc3e /gdb/infrun.c | |
parent | d238133d0292926b937aaa6f83bf921dd0bbb01c (diff) | |
download | binutils-gdb-979a0d1304ac7d73c9887f851e811d49752923fb.tar.gz |
Update an obsolete cleanup comment
This updates a comment in fetch_inferior_event. The comment refers to
a cleanup that is now a scoped_restore_current_thread.
gdb/ChangeLog:
2019-01-23 Tom Tromey <tom@tromey.com>
* infrun.c (fetch_inferior_event): Update comment.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 68574679830..cdfdf490708 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3744,7 +3744,7 @@ fetch_inferior_event (void *client_data) ptid_t finish_ptid = !target_is_non_stop_p () ? minus_one_ptid : ecs->ptid; scoped_finish_thread_state finish_state (finish_ptid); - /* Get executed before make_cleanup_restore_current_thread above to apply + /* Get executed before scoped_restore_current_thread above to apply still for the thread which has thrown the exception. */ auto defer_bpstat_clear = make_scope_exit (bpstat_clear_actions); |