forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user