aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-delegates.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-07-16 08:05:03 -0600
committerTom Tromey <tromey@redhat.com>2014-07-16 08:05:03 -0600
commita432721e612746b3a70a3b19f579c66cb8253ac8 (patch)
tree80edcb1c36019d6b8d1c07d4541e53d5c1d975a7 /gdb/target-delegates.c
parent0a45ee16bce8552abe77c74091b36878ff3816df (diff)
downloadgdb-a432721e612746b3a70a3b19f579c66cb8253ac8.zip
gdb-a432721e612746b3a70a3b19f579c66cb8253ac8.tar.gz
gdb-a432721e612746b3a70a3b19f579c66cb8253ac8.tar.bz2
rebuild target-delegates.c
target-delegates.c was out of date. This patch rebuilds it. Built and regtested on x86-64 Fedora 20. Committed as obvious. 2014-07-16 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild.
Diffstat (limited to 'gdb/target-delegates.c')
-rw-r--r--gdb/target-delegates.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/target-delegates.c b/gdb/target-delegates.c
index a92c46a..98ca14b 100644
--- a/gdb/target-delegates.c
+++ b/gdb/target-delegates.c
@@ -1436,6 +1436,18 @@ tdefault_stop_recording (struct target_ops *self)
}
static void
+delegate_info_record (struct target_ops *self)
+{
+ self = self->beneath;
+ self->to_info_record (self);
+}
+
+static void
+tdefault_info_record (struct target_ops *self)
+{
+}
+
+static void
delegate_save_record (struct target_ops *self, const char *arg1)
{
self = self->beneath;
@@ -1904,6 +1916,8 @@ install_delegators (struct target_ops *ops)
ops->to_read_btrace = delegate_read_btrace;
if (ops->to_stop_recording == NULL)
ops->to_stop_recording = delegate_stop_recording;
+ if (ops->to_info_record == NULL)
+ ops->to_info_record = delegate_info_record;
if (ops->to_save_record == NULL)
ops->to_save_record = delegate_save_record;
if (ops->to_delete_record == NULL)
@@ -2065,6 +2079,7 @@ install_dummy_methods (struct target_ops *ops)
ops->to_teardown_btrace = tdefault_teardown_btrace;
ops->to_read_btrace = tdefault_read_btrace;
ops->to_stop_recording = tdefault_stop_recording;
+ ops->to_info_record = tdefault_info_record;
ops->to_save_record = tdefault_save_record;
ops->to_delete_record = tdefault_delete_record;
ops->to_record_is_replaying = tdefault_record_is_replaying;