aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:10:14 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:53 -0700
commit1e949b005fbc5a62ba4479a9861e861bc72de2a1 (patch)
treea91e8028af961e7e3a98ade4b897963c932c16f8 /gdb/target.h
parenta2e6c147fcef5671c6c99f647a8e4587a117db30 (diff)
downloadgdb-1e949b005fbc5a62ba4479a9861e861bc72de2a1.zip
gdb-1e949b005fbc5a62ba4479a9861e861bc72de2a1.tar.gz
gdb-1e949b005fbc5a62ba4479a9861e861bc72de2a1.tar.bz2
convert to_upload_tracepoints
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_upload_tracepoints. * target.h (struct target_ops) <to_upload_tracepoints>: Use TARGET_DEFAULT_RETURN.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 9a7f3e4..f1e08a4 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -873,7 +873,8 @@ struct target_ops
TARGET_DEFAULT_NORETURN (tcomplain ());
int (*to_upload_tracepoints) (struct target_ops *,
- struct uploaded_tp **utpp);
+ struct uploaded_tp **utpp)
+ TARGET_DEFAULT_RETURN (0);
int (*to_upload_trace_state_variables) (struct target_ops *,
struct uploaded_tsv **utsvp);