#include "breakpoint.h"
#include "frame.h"
#include "ui-out.h"
#include "inferior.h"
#include "btrace.h"
Go to the source code of this file.
Classes |
struct | thread_control_state |
struct | thread_suspend_state |
struct | thread_info |
Defines |
#define | ALL_THREADS(T) for (T = thread_list; T; T = T->next) |
Typedefs |
typedef int(* | thread_callback_func )(struct thread_info *, void *) |
Enumerations |
enum | thread_state { THREAD_STOPPED,
THREAD_RUNNING,
THREAD_EXITED
} |
Functions |
void | init_thread_list (void) |
struct thread_info * | add_thread (ptid_t ptid) |
struct thread_info * | add_thread_silent (ptid_t ptid) |
struct thread_info * | add_thread_with_info (ptid_t ptid, struct private_thread_info *) |
void | delete_thread (ptid_t) |
void | delete_thread_silent (ptid_t) |
void | delete_step_resume_breakpoint (struct thread_info *) |
void | delete_exception_resume_breakpoint (struct thread_info *) |
ptid_t | thread_id_to_pid (int) |
int | pid_to_thread_id (ptid_t ptid) |
int | in_thread_list (ptid_t ptid) |
int | valid_thread_id (int thread) |
struct thread_info * | find_thread_ptid (ptid_t ptid) |
struct thread_info * | find_thread_id (int num) |
struct thread_info * | first_thread_of_process (int pid) |
struct thread_info * | any_thread_of_process (int pid) |
struct thread_info * | any_live_thread_of_process (int pid) |
void | thread_change_ptid (ptid_t old_ptid, ptid_t new_ptid) |
struct thread_info * | iterate_over_threads (thread_callback_func, void *) |
int | thread_count (void) |
void | switch_to_thread (ptid_t ptid) |
void | set_running (ptid_t ptid, int running) |
void | set_stop_requested (ptid_t ptid, int stop) |
int | is_running (ptid_t ptid) |
int | is_exited (ptid_t ptid) |
int | is_stopped (ptid_t ptid) |
int | any_running (void) |
void | set_executing (ptid_t ptid, int executing) |
int | is_executing (ptid_t ptid) |
void | finish_thread_state (ptid_t ptid) |
void | finish_thread_state_cleanup (void *ptid_p) |
void | print_thread_info (struct ui_out *uiout, char *threads, int pid) |
struct cleanup * | make_cleanup_restore_current_thread (void) |
struct thread_info * | inferior_thread (void) |
void | update_thread_list (void) |
int | pc_in_thread_step_range (CORE_ADDR pc, struct thread_info *thread) |
Variables |
struct cmd_list_element * | thread_cmd_list |
int | print_thread_events |
struct thread_info * | thread_list |
Define Documentation
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
THREAD_STOPPED |
|
THREAD_RUNNING |
|
THREAD_EXITED |
|
Definition at line 34 of file gdbthread.h.
Function Documentation
Variable Documentation