summaryrefslogtreecommitdiff
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-09-08 22:10:19 +0000
committerPedro Alves <pedro@codesourcery.com>2008-09-08 22:10:19 +0000
commit7dac58f3ae69ac566c1dc14f96df3566f3e2970f (patch)
tree2c5832e813fd663f32cf60fd30d06813fdfd61c6 /gdb/gdbthread.h
parent928d9705de49b753847a751e2c04dd317286485c (diff)
downloadgdb-7dac58f3ae69ac566c1dc14f96df3566f3e2970f.tar.gz
* inferior.h (context_switch_to): Delete.
* infrun.c (context_switch): Don't save and load infrun state. (context_switch_to): Delete. * infcmd.c (proceed_thread_callback): Replace context_switch_to calls by switch_to_thread calls. * gdbthread.h (save_infrun_state, load_infrun_state): Delete. * thread.c (main_thread_state, main_thread_executing): Delete. (inferior_thread): Delete references to them. (add_thread_silent): Fix case where we're adding a thread with the same ptid as an exited thread. Remove references to context-switching. (load_infrun_state, save_infrun_state): Delete. (thread_alive, is_thread_state, any_running, is_executing) (set_executing): Remove the special handling for targets that don't register any thread. (restore_current_thread, thread_apply_all_command) (do_captured_thread_select): Unconditionally call switch_to_thread. * mi/mi-main.c (mi_cmd_execute): Check for exited threads. Call switch_to_thread instead of context_switch_to.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r--gdb/gdbthread.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index 1510058c427..0fb53fbbc4a 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -232,13 +232,6 @@ extern struct thread_info *iterate_over_threads (thread_callback_func, void *);
extern int thread_count (void);
-/* infrun context switch: save the debugger state for the given thread. */
-extern void save_infrun_state (ptid_t ptid);
-
-/* infrun context switch: load the debugger state previously saved
- for the given thread. */
-extern void load_infrun_state (ptid_t ptid);
-
/* Switch from one thread to another. */
extern void switch_to_thread (ptid_t ptid);