GDB (API)
Defines | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/ada-tasks.c File Reference
#include "defs.h"
#include "observer.h"
#include "gdbcmd.h"
#include "target.h"
#include "ada-lang.h"
#include "gdbcore.h"
#include "inferior.h"
#include "gdbthread.h"
#include "progspace.h"
#include "objfiles.h"

Go to the source code of this file.

Defines

#define KNOWN_TASKS_NAME   "system__tasking__debug__known_tasks"
#define KNOWN_TASKS_LIST   "system__tasking__debug__first_task"

Typedefs

typedef struct ada_task_info ada_task_info_s

Enumerations

enum  task_states {
  Unactivated, Runnable, Terminated, Activator_Sleep,
  Acceptor_Sleep, Entry_Caller_Sleep, Async_Select_Sleep, Delay_Sleep,
  Master_Completion_Sleep, Master_Phase_2_Sleep, Interrupt_Server_Idle_Sleep, Interrupt_Server_Blocked_Interrupt_Sleep,
  Timer_Server_Sleep, AST_Server_Sleep, Asynchronous_Hold, Interrupt_Server_Blocked_On_Event_Flag,
  Activating, Acceptor_Delay_Sleep
}
enum  ada_known_tasks_kind { ADA_TASKS_UNKNOWN = 0, ADA_TASKS_NOT_FOUND, ADA_TASKS_ARRAY, ADA_TASKS_LIST }

Functions

 DEF_VEC_O (ada_task_info_s)
int ada_get_task_number (ptid_t ptid)
int valid_task_id (int task_num)
void iterate_over_live_ada_tasks (ada_task_list_iterator_ftype *iterator)
int ada_build_task_list (void)
void print_ada_task_info (struct ui_out *uiout, char *arg_str, struct inferior *inf)
void _initialize_tasks (void)

Variables

initialize_file_ftype _initialize_tasks

Define Documentation

#define KNOWN_TASKS_LIST   "system__tasking__debug__first_task"

Definition at line 39 of file ada-tasks.c.

#define KNOWN_TASKS_NAME   "system__tasking__debug__known_tasks"

Definition at line 31 of file ada-tasks.c.


Typedef Documentation

Definition at line 163 of file ada-tasks.c.


Enumeration Type Documentation

Enumerator:
ADA_TASKS_UNKNOWN 
ADA_TASKS_NOT_FOUND 
ADA_TASKS_ARRAY 
ADA_TASKS_LIST 

Definition at line 169 of file ada-tasks.c.

Enumerator:
Unactivated 
Runnable 
Terminated 
Activator_Sleep 
Acceptor_Sleep 
Entry_Caller_Sleep 
Async_Select_Sleep 
Delay_Sleep 
Master_Completion_Sleep 
Master_Phase_2_Sleep 
Interrupt_Server_Idle_Sleep 
Interrupt_Server_Blocked_Interrupt_Sleep 
Timer_Server_Sleep 
AST_Server_Sleep 
Asynchronous_Hold 
Interrupt_Server_Blocked_On_Event_Flag 
Activating 
Acceptor_Delay_Sleep 

Definition at line 41 of file ada-tasks.c.


Function Documentation

void _initialize_tasks ( void  )

Definition at line 1435 of file ada-tasks.c.

Definition at line 981 of file ada-tasks.c.

Definition at line 292 of file ada-tasks.c.

Definition at line 357 of file ada-tasks.c.

void print_ada_task_info ( struct ui_out *  uiout,
char *  arg_str,
struct inferior inf 
)

Definition at line 1001 of file ada-tasks.c.

int valid_task_id ( int  task_num)

Definition at line 334 of file ada-tasks.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines