diff options
author | Pedro Alves <palves@redhat.com> | 2015-09-09 18:23:25 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-09-09 18:25:33 +0100 |
commit | a85a3079233ddf4c5537ec90c03d3394b93ef355 (patch) | |
tree | e01f090bf70ef15849bfda7dce8c89b487e9fb7f /gdb/thread.c | |
parent | 0700e23e5f73b2a498526a79de34217429b44988 (diff) | |
download | gdb-a85a3079233ddf4c5537ec90c03d3394b93ef355.zip gdb-a85a3079233ddf4c5537ec90c03d3394b93ef355.tar.gz gdb-a85a3079233ddf4c5537ec90c03d3394b93ef355.tar.bz2 |
Garbage collect thread continuations
Nothing uses thread continuations anymore.
(inferior continuations are still used by the attach command.)
gdb/ChangeLog:
2015-09-09 Pedro Alves <palves@redhat.com>
* continuations.c (add_continuation, restore_thread_cleanup)
(do_all_continuations_ptid, do_all_continuations_thread_callback)
(do_all_continuations_thread, do_all_continuations)
(discard_all_continuations_thread_callback)
(discard_all_continuations_thread, discard_all_continuations)
(add_intermediate_continuation)
(do_all_intermediate_continuations_thread_callback)
(do_all_intermediate_continuations_thread)
(do_all_intermediate_continuations)
(discard_all_intermediate_continuations_thread_callback)
(discard_all_intermediate_continuations_thread)
(discard_all_intermediate_continuations): Delete.
* continuations.h (add_continuation, do_all_continuations)
(do_all_continuations_thread, discard_all_continuations)
(discard_all_continuations_thread, add_intermediate_continuation)
(do_all_intermediate_continuations)
(do_all_intermediate_continuations_thread)
(discard_all_intermediate_continuations)
(discard_all_intermediate_continuations_thread): Delete
declarations.
* event-top.c (stdin_event_handler): Delete references to
continuations.
* gdbthread.h (struct thread_info): Delete continuations and
intermediate_continuations fields.
* inf-loop.c (inferior_event_handler): Remove references to
continuations.
* infrun.c (infrun_thread_stop_requested_callback): Remove
references to continuations.
* target.h (enum inferior_event_type) <INF_EXEC_CONTINUE>: Delete.
* thread.c: Don't include "continuations.h".
(clear_thread_inferior_resources): Remove references to
continuations.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r-- | gdb/thread.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/thread.c b/gdb/thread.c index 5498fc1..0f8eded 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -42,7 +42,6 @@ #include "cli/cli-decode.h" #include "gdb_regex.h" #include "cli/cli-utils.h" -#include "continuations.h" #include "thread-fsm.h" /* Definition of struct thread_info exported to gdbthread.h. */ @@ -190,9 +189,6 @@ clear_thread_inferior_resources (struct thread_info *tp) btrace_teardown (tp); thread_cancel_execution_command (tp); - - do_all_intermediate_continuations_thread (tp, 1); - do_all_continuations_thread (tp, 1); } static void |