GDBserver
Classes | Macros | Functions | Variables
gdbthread.h File Reference
#include "inferiors.h"

Go to the source code of this file.

Classes

struct  thread_info
 

Macros

#define current_ptid   (current_thread->entry.id)
 

Functions

void remove_thread (struct thread_info *thread)
 
struct thread_infoadd_thread (ptid_t ptid, void *target_data)
 
struct thread_infoget_first_thread (void)
 
struct thread_infofind_thread_ptid (ptid_t ptid)
 

Variables

struct inferior_list all_threads
 

Macro Definition Documentation

#define current_ptid   (current_thread->entry.id)

Function Documentation

struct thread_info* add_thread ( ptid_t  ptid,
void *  target_data 
)
struct thread_info* find_thread_ptid ( ptid_t  ptid)
struct thread_info* get_first_thread ( void  )

Definition at line 135 of file inferiors.c.

References all_threads, and get_first_inferior().

Referenced by process_serial_event(), set_desired_thread(), and target_running().

void remove_thread ( struct thread_info thread)

Variable Documentation

struct inferior_list all_threads