diff options
author | Yao Qi <yao@codesourcery.com> | 2012-03-03 04:34:52 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-03-03 04:34:52 +0000 |
commit | 58b4daa56a17c2baffb4a64abdf68427680e8c45 (patch) | |
tree | 4bc17cd1b984cb43f878c6fe94a47e703a3c959c /gdb/gdbserver/linux-x86-low.c | |
parent | 8ffcbaaf40fd5eac75e04570c6b8989a70276578 (diff) | |
download | gdb-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/gdbserver/linux-x86-low.c')
-rw-r--r-- | gdb/gdbserver/linux-x86-low.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index 7fca416..58aaf9a 100644 --- a/gdb/gdbserver/linux-x86-low.c +++ b/gdb/gdbserver/linux-x86-low.c @@ -28,6 +28,7 @@ #include "elf/common.h" #include "gdb_proc_service.h" +#include "agent.h" /* Defined in auto-generated file i386-linux.c. */ void init_registers_i386_linux (void); @@ -1586,7 +1587,7 @@ x86_get_min_fast_tracepoint_insn_len (void) return 5; #endif - if (in_process_agent_loaded ()) + if (agent_loaded_p ()) { char errbuf[IPA_BUFSIZ]; |