rebuild target-delegates.c
authorTom Tromey <tromey@redhat.com>
Wed, 16 Jul 2014 14:05:03 +0000 (08:05 -0600)
committerTom Tromey <tromey@redhat.com>
Wed, 16 Jul 2014 14:05:03 +0000 (08:05 -0600)
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.

gdb/ChangeLog
gdb/target-delegates.c

index 6a05145e0b18a6aefd01442bc6b1aa885ac45595..b9d4fa6dea4f0d0b8047df1aaecfe3a7e6d13c86 100644 (file)
@@ -1,3 +1,7 @@
+2014-07-16  Tom Tromey  <tromey@redhat.com>
+
+       * target-delegates.c: Rebuild.
+
 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
 
        * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
index a92c46ad689fa505244ddef897fbf7be79f6c2bd..98ca14b53ed041e66f8e065400d88b27f93570db 100644 (file)
@@ -1435,6 +1435,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)
 {
@@ -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;