aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:15:23 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:58 -0700
commit8586ccaaed442190518e751a5789ef9ea5749cf8 (patch)
tree457d252546ee11923e25725b57cf2cbbe54ce3b1 /gdb/target.c
parent91df8d1d35ec381563b978a836b5bd6987d236db (diff)
downloadgdb-8586ccaaed442190518e751a5789ef9ea5749cf8.zip
gdb-8586ccaaed442190518e751a5789ef9ea5749cf8.tar.gz
gdb-8586ccaaed442190518e751a5789ef9ea5749cf8.tar.bz2
convert to_set_trace_notes
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_set_trace_notes. * target.h (struct target_ops) <to_set_trace_notes>: Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/target.c b/gdb/target.c
index febf07b..e0b5efb 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -707,7 +707,7 @@ update_current_target (void)
/* Do not inherit to_set_disconnected_tracing. */
/* Do not inherit to_set_circular_trace_buffer. */
/* Do not inherit to_set_trace_buffer_size. */
- INHERIT (to_set_trace_notes, t);
+ /* Do not inherit to_set_trace_notes. */
INHERIT (to_get_tib_address, t);
INHERIT (to_set_permissions, t);
INHERIT (to_static_tracepoint_marker_at, t);
@@ -750,10 +750,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
- de_fault (to_set_trace_notes,
- (int (*) (struct target_ops *,
- const char *, const char *, const char *))
- return_zero);
de_fault (to_get_tib_address,
(int (*) (struct target_ops *, ptid_t, CORE_ADDR *))
tcomplain);