From a432721e612746b3a70a3b19f579c66cb8253ac8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 16 Jul 2014 08:05:03 -0600 Subject: [PATCH] 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 * target-delegates.c: Rebuild. --- gdb/ChangeLog | 4 ++++ gdb/target-delegates.c | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6a05145e0b1..b9d4fa6dea4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-07-16 Tom Tromey + + * target-delegates.c: Rebuild. + 2014-07-15 Pierre Langlois * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. diff --git a/gdb/target-delegates.c b/gdb/target-delegates.c index a92c46ad689..98ca14b53ed 100644 --- a/gdb/target-delegates.c +++ b/gdb/target-delegates.c @@ -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; -- 2.30.2