aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2010-04-19 22:06:17 +0000
committerStan Shebs <shebs@codesourcery.com>2010-04-19 22:06:17 +0000
commit4136fdd244ae908cbfccea8c38a1971182f6bbca (patch)
tree52894cb3fe8d7ed1c238c331c8875910c9791ff0 /gdb/target.c
parent0c4b2e63934787e61a17fcefbe6054286d853a06 (diff)
downloadfsf-binutils-gdb-4136fdd244ae908cbfccea8c38a1971182f6bbca.zip
fsf-binutils-gdb-4136fdd244ae908cbfccea8c38a1971182f6bbca.tar.gz
fsf-binutils-gdb-4136fdd244ae908cbfccea8c38a1971182f6bbca.tar.bz2
2010-04-19 Stan Shebs <stan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com> * tracepoint.c (tfind_1): Add missing newline, report exit from tfind mode as such. * target.c (update_current_target): Make default to_trace_find return -1.
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 08b42a0..3d47cc4 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -832,7 +832,7 @@ update_current_target (void)
tcomplain);
de_fault (to_trace_find,
(int (*) (enum trace_find_type, int, ULONGEST, ULONGEST, int *))
- return_zero);
+ return_minus_one);
de_fault (to_get_trace_state_variable_value,
(int (*) (int, LONGEST *))
return_zero);