* 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.
This commit is contained in:
Yao Qi 2012-03-03 04:34:52 +00:00
parent 8ffcbaaf40
commit 58b4daa56a
9 changed files with 49 additions and 32 deletions

View file

@ -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;