aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-04-07 10:23:34 +0000
committerYao Qi <yao@codesourcery.com>2013-04-07 10:23:34 +0000
commitcc5925ad7ee6c03a861ed2894f61610aea537ec5 (patch)
tree1be5519cce5c3438178f4ff72d4a93278638b8b9 /gdb/target.c
parentafe1492b2117060906ad3cf2d9d62bbbd777f956 (diff)
downloadgdb-cc5925ad7ee6c03a861ed2894f61610aea537ec5.zip
gdb-cc5925ad7ee6c03a861ed2894f61610aea537ec5.tar.gz
gdb-cc5925ad7ee6c03a861ed2894f61610aea537ec5.tar.bz2
gdb/
* remote.c (remote_trace_find): Change type of parameters 'addr1' and 'addr2' to CORE_ADDR. * target.c (update_current_target): Update. * target.h (struct target_ops) <to_trace_find>: Change parameter type to CORE_ADDR. * tracepoint.c (tfind_1): Change type of parameters 'addr1' and 'addr2' to CORE_ADDR. (tfile_trace_find): Likewise. (tfile_get_traceframe_address): Change return type to CORE_ADDR. Change local variable 'addr' to type CORE_ADDR. * tracepoint.h (tfind_1): Update declaration.
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 24cc79d..8f8e46a 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -918,7 +918,7 @@ update_current_target (void)
(void (*) (void))
tcomplain);
de_fault (to_trace_find,
- (int (*) (enum trace_find_type, int, ULONGEST, ULONGEST, int *))
+ (int (*) (enum trace_find_type, int, CORE_ADDR, CORE_ADDR, int *))
return_minus_one);
de_fault (to_get_trace_state_variable_value,
(int (*) (int, LONGEST *))