aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-03-03 04:04:35 +0000
committerYao Qi <yao@codesourcery.com>2012-03-03 04:04:35 +0000
commit8ffcbaaf40fd5eac75e04570c6b8989a70276578 (patch)
treefda03da2196ed461094030c7fbe76aa482f71a8c /gdb/target.c
parentd1feda864e0b17c5757197ba1b421e25dac6afd1 (diff)
downloadgdb-8ffcbaaf40fd5eac75e04570c6b8989a70276578.zip
gdb-8ffcbaaf40fd5eac75e04570c6b8989a70276578.tar.gz
gdb-8ffcbaaf40fd5eac75e04570c6b8989a70276578.tar.bz2
gdb:
* common/agent.c (struct ipa_sym_addresses) <addr_capability>: New. (agent_capability_check, agent_capability_invalidate): New. (symbol_list): New array element. * common/agent.h (enum agent_capa): New. * target.c (target_pre_inferior): Call agent_capability_invalidate. gdb/gdbserver: * tracepoint.c (gdb_agent_capability): New global. (in_process_agent_loaded_ust): Renamed to `in_process_agent_supports_ust'. Update callers. (in_process_agent_supports_ust): Call agent_capability_check. (clear_installed_tracepoints): Assert that agent supports agent.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 87ecf79..88703ea 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -43,6 +43,7 @@
#include "inline-frame.h"
#include "tracepoint.h"
#include "gdb/fileio.h"
+#include "agent.h"
static void target_info (char *, int);
@@ -2500,6 +2501,8 @@ target_pre_inferior (int from_tty)
target_clear_description ();
}
+
+ agent_capability_invalidate ();
}
/* Callback for iterate_over_inferiors. Gets rid of the given