GDB (xrefs)
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

Definition at line 34 of file agent.h.

Referenced by agent_run_command(), and VEC().

#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.

Referenced by target_pre_inferior().

int agent_loaded_p ( void  )

Definition at line 78 of file agent.c.

References all_agent_symbols_looked_up.

Referenced by agent_new_objfile(), inf_child_can_use_agent(), and inf_child_use_agent().

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.

Definition at line 46 of file agent.c.

Referenced by inf_child_use_agent(), and remote_use_agent().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines