GDBserver
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/common/agent.h File Reference

Go to the source code of this file.

Defines

#define STRINGIZE_1(STR)   #STR
#define STRINGIZE(STR)   STRINGIZE_1(STR)
#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

Define Documentation

#define IPA_CMD_BUF_SIZE   1024
#define IPA_SYM (   SYM)
Value:
{                                                    \
    STRINGIZE (gdb_agent_ ## SYM),                      \
    offsetof (struct ipa_sym_addresses, addr_ ## 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 47 of file agent.h.


Function Documentation

int agent_capability_check ( enum  agent_capa)
void agent_capability_invalidate ( void  )

Definition at line 355 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

Definition at line 33 of file agent.c.

int use_agent

Definition at line 46 of file agent.c.

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

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines