aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-07-18 23:09:49 +0000
committerYao Qi <yao@codesourcery.com>2013-07-18 23:09:49 +0000
commit1527aea867d6a261dc133fed39c92ee74b45e7e3 (patch)
tree86ba329e3552b0c2f6550410dff4fad622c9095f /gdb/target.c
parent73c1d57e3e53233af477bda398107075c505e3e0 (diff)
downloadgdb-1527aea867d6a261dc133fed39c92ee74b45e7e3.zip
gdb-1527aea867d6a261dc133fed39c92ee74b45e7e3.tar.gz
gdb-1527aea867d6a261dc133fed39c92ee74b45e7e3.tar.bz2
gdb/
* target.c (update_current_target): Change the default action of 'to_traceframe_info' from tcomplain to return_zero. * target.h (struct target_ops) <to_traceframe_info>: 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.
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 3acd6c4..bc52ec4 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);