From 1527aea867d6a261dc133fed39c92ee74b45e7e3 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 18 Jul 2013 23:09:49 +0000 Subject: gdb/ * target.c (update_current_target): Change the default action of 'to_traceframe_info' from tcomplain to return_zero. * target.h (struct target_ops) : Add more comments. * valops.c (read_value_memory): Call traceframe_available_memory unconditionally. gdb/testsuite/ * gdb.trace/read-memory.exp (test_from_remote): Update test. (teset_from_exec): Likewise. --- gdb/target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/target.c') diff --git a/gdb/target.c b/gdb/target.c index 3acd6c45fad..bc52ec4e373 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -962,7 +962,7 @@ update_current_target (void) tcomplain); de_fault (to_traceframe_info, (struct traceframe_info * (*) (void)) - tcomplain); + return_zero); de_fault (to_supports_evaluation_of_breakpoint_conditions, (int (*) (void)) return_zero); -- cgit v1.2.1