diff options
author | qiyao <qiyao> | 2012-03-03 04:04:33 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2012-03-03 04:04:33 +0000 |
commit | 56caf1757189b56d2f86846cb257beab3214e62e (patch) | |
tree | a9673478317e7e69ccf5dab2b0e43c4d4c30cfd7 /gdb/target.c | |
parent | ffbc94801174ce3aef0e5815ea2b2ea9274d2377 (diff) | |
download | gdb-56caf1757189b56d2f86846cb257beab3214e62e.tar.gz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c index 87ecf79fe5c..88703ea6e5d 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 |