GDBserver
Macros | Enumerations | Functions | Variables
agent.h File Reference

Go to the source code of this file.

Macros

#define STRINGIZE_1(STR)   #STR
 
#define STRINGIZE(STR)   STRINGIZE_1(STR)
 
#define IPA_SYM_EXPORTED_NAME(SYM)   gdb_agent_ ## SYM
 
#define IPA_SYM(SYM)
 
#define IPA_CMD_BUF_SIZE   1024
 

Enumerations

enum  agent_capa { AGENT_CAPA_FAST_TRACE = 0x1, AGENT_CAPA_STATIC_TRACE = (0x1 << 1) }
 

Functions

int agent_run_command (int pid, const char *cmd, int len)
 
int agent_look_up_symbols (void *)
 
int agent_loaded_p (void)
 
int agent_capability_check (enum agent_capa)
 
void agent_capability_invalidate (void)
 

Variables

int debug_agent
 
int use_agent
 

Macro Definition Documentation

#define IPA_CMD_BUF_SIZE   1024
#define IPA_SYM (   SYM)
Value:
{ \
STRINGIZE (IPA_SYM_EXPORTED_NAME (SYM)), \
offsetof (struct ipa_sym_addresses, addr_ ## SYM) \
}
#define IPA_SYM_EXPORTED_NAME(SYM)
Definition: agent.h:26

Definition at line 27 of file agent.h.

#define IPA_SYM_EXPORTED_NAME (   SYM)    gdb_agent_ ## SYM

Definition at line 26 of file agent.h.

#define STRINGIZE (   STR)    STRINGIZE_1(STR)

Definition at line 25 of file agent.h.

#define STRINGIZE_1 (   STR)    #STR

Definition at line 24 of file agent.h.

Enumeration Type Documentation

enum agent_capa
Enumerator
AGENT_CAPA_FAST_TRACE 
AGENT_CAPA_STATIC_TRACE 

Definition at line 48 of file agent.h.

Function Documentation

int agent_capability_check ( enum  agent_capa)
void agent_capability_invalidate ( void  )

Definition at line 278 of file agent.c.

References agent_capability.

int agent_loaded_p ( void  )
int agent_look_up_symbols ( void *  )
int agent_run_command ( int  pid,
const char *  cmd,
int  len 
)

Variable Documentation

int debug_agent

Definition at line 27 of file agent.c.

Referenced by ATTRIBUTE_PRINTF().

int use_agent

Definition at line 46 of file agent.c.

Referenced by cmd_qtdp(), cmd_qtstart(), and handle_general_set().