diff options
author | Pedro Alves <palves@redhat.com> | 2008-09-08 22:10:20 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-09-08 22:10:20 +0000 |
commit | dcf4fbde10e63c5cc5fa08b7280b751d01a8efaf (patch) | |
tree | 9e2e0a6deddd136c579e025c17d96828aa1f9946 /gdb/inferior.h | |
parent | fedae5ffbcc3c8ddd072ad61334f710f940a4a4a (diff) | |
download | gdb-dcf4fbde10e63c5cc5fa08b7280b751d01a8efaf.zip gdb-dcf4fbde10e63c5cc5fa08b7280b751d01a8efaf.tar.gz gdb-dcf4fbde10e63c5cc5fa08b7280b751d01a8efaf.tar.bz2 |
* 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/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index fa3b25e..f0bb405 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -132,8 +132,6 @@ extern void clear_proceed_status (void); extern void proceed (CORE_ADDR, enum target_signal, int); -extern ptid_t context_switch_to (ptid_t ptid); - /* When set, stop the 'step' command if we enter a function which has no line number information. The normal behavior is that we step over such function. */ |