From patchwork Wed Jul 16 14:07:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 2074 Received: (qmail 7505 invoked by alias); 16 Jul 2014 14:07:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 7478 invoked by uid 89); 16 Jul 2014 14:07:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 16 Jul 2014 14:07:06 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6GE75Ai012281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 16 Jul 2014 10:07:05 -0400 Received: from barimba.redhat.com (ovpn-113-27.phx2.redhat.com [10.3.113.27]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6GE74Gd012397; Wed, 16 Jul 2014 10:07:04 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] rebuild target-delegates.c Date: Wed, 16 Jul 2014 08:07:02 -0600 Message-Id: <1405519622-31770-1-git-send-email-tromey@redhat.com> 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/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;