aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-11-14 14:11:36 +0000
committerYao Qi <yao@codesourcery.com>2011-11-14 14:11:36 +0000
commite8ba31153a46231c6ea664762e633f00256af237 (patch)
treefa7d9d12723b213aa77bd236ca828c0c69267f8f /gdb/target.c
parent9301f9c3e348449d38ecb37b575ffbf4ac37bdde (diff)
downloadgdb-e8ba31153a46231c6ea664762e633f00256af237.zip
gdb-e8ba31153a46231c6ea664762e633f00256af237.tar.gz
gdb-e8ba31153a46231c6ea664762e633f00256af237.tar.bz2
* target.h (struct target): <to_download_tracepoint> Change type
of parameter from tracepoint to bp_location. * target.c (update_current_target): Update. * tracepoint.c (start_tracing): Update. * remote.c (remote_download_tracepoint): Remove loop for each location of a tracepoint.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 7e0c6ed..fc7b7c6 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -848,7 +848,7 @@ update_current_target (void)
(void (*) (void))
tcomplain);
de_fault (to_download_tracepoint,
- (void (*) (struct breakpoint *))
+ (void (*) (struct bp_location *))
tcomplain);
de_fault (to_download_trace_state_variable,
(void (*) (struct trace_state_variable *))