GDB (xrefs)
|
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 IPA_CMD_BUF_SIZE 1024 |
Definition at line 34 of file agent.h.
Referenced by agent_run_command(), and VEC().
#define IPA_SYM | ( | SYM | ) |
{ \ STRINGIZE (gdb_agent_ ## SYM), \ offsetof (struct ipa_sym_addresses, addr_ ## SYM) \ }
#define STRINGIZE | ( | STR | ) | STRINGIZE_1(STR) |
#define STRINGIZE_1 | ( | STR | ) | #STR |
enum agent_capa |
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 * | ) |
Definition at line 87 of file agent.c.
References all_agent_symbols_looked_up, DEBUG_AGENT, ipa_sym_addrs, lookup_minimal_symbol(), name, symbol_list, and SYMBOL_VALUE_ADDRESS.
Referenced by agent_new_objfile().
int agent_run_command | ( | int | pid, |
const char * | cmd, | ||
int | len | ||
) |
Definition at line 212 of file agent.c.
References _, ipa_sym_addresses::addr_cmd_buf, agent_get_helper_thread_id(), DEBUG_AGENT, gdb_connect_sync_socket(), IPA_CMD_BUF_SIZE, ipa_sym_addrs, memset(), non_stop, null_ptid, ptid_build(), ptid_equal(), read(), resume_continue, resume_stop, target_read_memory(), target_resume(), target_stop(), target_wait(), target_write_memory(), and warning().
Referenced by VEC().
Definition at line 46 of file agent.c.
Referenced by inf_child_use_agent(), and remote_use_agent().