aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 13:54:59 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:40 -0700
commitaab1b22d31545efe8dfdd942e2050b3be0c9cf2e (patch)
tree521806700c19a62e45ae26cdc3697c38c99e4562 /gdb/target.c
parenta73047487749f2c4723f65fe633e24acdee28312 (diff)
downloadgdb-aab1b22d31545efe8dfdd942e2050b3be0c9cf2e.zip
gdb-aab1b22d31545efe8dfdd942e2050b3be0c9cf2e.tar.gz
gdb-aab1b22d31545efe8dfdd942e2050b3be0c9cf2e.tar.bz2
convert to_supports_enable_disable_tracepoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_supports_enable_disable_tracepoint. * target.h (struct target_ops) <to_supports_enable_disable_tracepoint>: Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/target.c b/gdb/target.c
index bfa3635..7d96806 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -686,7 +686,7 @@ update_current_target (void)
/* Do not inherit to_get_ada_task_ptid. */
/* Do not inherit to_search_memory. */
/* Do not inherit to_supports_multi_process. */
- INHERIT (to_supports_enable_disable_tracepoint, t);
+ /* Do not inherit to_supports_enable_disable_tracepoint. */
INHERIT (to_supports_string_tracing, t);
INHERIT (to_trace_init, t);
INHERIT (to_download_tracepoint, t);
@@ -752,9 +752,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
- de_fault (to_supports_enable_disable_tracepoint,
- (int (*) (struct target_ops *))
- return_zero);
de_fault (to_supports_string_tracing,
(int (*) (struct target_ops *))
return_zero);