aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/agent.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-03-03 04:34:52 +0000
committerYao Qi <yao@codesourcery.com>2012-03-03 04:34:52 +0000
commit58b4daa56a17c2baffb4a64abdf68427680e8c45 (patch)
tree4bc17cd1b984cb43f878c6fe94a47e703a3c959c /gdb/common/agent.h
parent8ffcbaaf40fd5eac75e04570c6b8989a70276578 (diff)
downloadgdb-58b4daa56a17c2baffb4a64abdf68427680e8c45.zip
gdb-58b4daa56a17c2baffb4a64abdf68427680e8c45.tar.gz
gdb-58b4daa56a17c2baffb4a64abdf68427680e8c45.tar.bz2
gdb:
* common/agent.c (agent_loaded_p): New. (agent_look_up_symbols): New global. * common/agent.h: Declare agent_loaded_p. gdb/gdbserver: * Makefile.in (linux-low.o): Keep dependence on agent.h. (linux-x86-low.o): Likewise. * server.h: Remove in_process_agent_loaded. * tracepoint.c (in_process_agent_loaded): Removed. Moved it common/agent.c. Update callers.
Diffstat (limited to 'gdb/common/agent.h')
-rw-r--r--gdb/common/agent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/common/agent.h b/gdb/common/agent.h
index a1ac9b2..b89d111 100644
--- a/gdb/common/agent.h
+++ b/gdb/common/agent.h
@@ -33,6 +33,8 @@ int agent_look_up_symbols (void);
thread. */
#define IPA_CMD_BUF_SIZE 1024
+int agent_loaded_p (void);
+
extern int debug_agent;
extern int use_agent;