aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:18:10 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:48:02 -0700
commit92155eeb1460f2963cbd5bf15323469123d968b5 (patch)
treeb936e38e2ccee04363c2f00940b40af759c3d608 /gdb/target.h
parentd6522a229d3baf2659c63a65b60947dff58ea200 (diff)
downloadgdb-92155eeb1460f2963cbd5bf15323469123d968b5.zip
gdb-92155eeb1460f2963cbd5bf15323469123d968b5.tar.gz
gdb-92155eeb1460f2963cbd5bf15323469123d968b5.tar.bz2
convert to_traceframe_info
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_traceframe_info. (return_null): Remove. * target.h (struct target_ops) <to_traceframe_info>: 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 457479e..a8c982e 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -958,7 +958,8 @@ struct target_ops
is available in the read-only sections. This method should not
cache data; higher layers take care of caching, invalidating,
and re-fetching when necessary. */
- struct traceframe_info *(*to_traceframe_info) (struct target_ops *);
+ struct traceframe_info *(*to_traceframe_info) (struct target_ops *)
+ TARGET_DEFAULT_RETURN (0);
/* Ask the target to use or not to use agent according to USE. Return 1
successful, 0 otherwise. */