From patchwork Wed Jan 23 15:21:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 31194 Received: (qmail 67028 invoked by alias); 23 Jan 2019 15:21:56 -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 66533 invoked by uid 89); 23 Jan 2019 15:21:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1060 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 ESMTP; Wed, 23 Jan 2019 15:21:52 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B84022D7E1; Wed, 23 Jan 2019 15:21:51 +0000 (UTC) Received: from localhost.localdomain (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id E886967143; Wed, 23 Jan 2019 15:21:50 +0000 (UTC) From: Pedro Alves To: gdb-patches@sourceware.org Cc: Tom Tromey , Andrew Burgess Subject: [PATCH v3 16/17] Update cleanup comment in ui-out.h Date: Wed, 23 Jan 2019 15:21:30 +0000 Message-Id: <20190123152131.29893-17-palves@redhat.com> In-Reply-To: <20190123152131.29893-1-palves@redhat.com> References: <20190123152131.29893-1-palves@redhat.com> From: Tom Tromey ui-out.h refers to some cleanup functions that no longer exist. This updates the reference. gdb/ChangeLog: yyyy-mm-dd Tom Tromey * ui-out.h (class ui_out_emit_type): Update comment. --- gdb/ui-out.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gdb/ui-out.h b/gdb/ui-out.h index 5f4eea5491..8d183060b5 100644 --- a/gdb/ui-out.h +++ b/gdb/ui-out.h @@ -195,11 +195,9 @@ class ui_out ui_out_level *current_level () const; }; -/* This is similar to make_cleanup_ui_out_tuple_begin_end and - make_cleanup_ui_out_list_begin_end, but written as an RAII template - class. It takes the ui_out_type as a template parameter. Normally - this is used via the typedefs ui_out_emit_tuple and - ui_out_emit_list. */ +/* Start a new tuple or list on construction, and end it on + destruction. Normally this is used via the typedefs + ui_out_emit_tuple and ui_out_emit_list. */ template class ui_out_emit_type {