From patchwork Wed Jan 9 03:34:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 31007 Received: (qmail 37256 invoked by alias); 9 Jan 2019 03:34:38 -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 36851 invoked by uid 89); 9 Jan 2019 03:34:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (50.116.125.2) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 Jan 2019 03:34:33 +0000 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway36.websitewelcome.com (Postfix) with ESMTP id 1E7A44012168D for ; Tue, 8 Jan 2019 20:46:36 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id h4dUgZ2jFYTGMh4dUgKPCf; Tue, 08 Jan 2019 21:34:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yBOHBWYhK7H5qi5OXGIwDjjfFp/jonGTBeVp9wn1UFk=; b=Eu8vrhB8yXD1KscD0LXPibmP9s BbIIaoRZbACALSl8IPIK+YoL1+/XPhk63X+jokzbBF506hD3u2yZLDC2fCI1EjCbSvemt5FwXdVTE Sw0zdOzTtmj9914tKqlPwyMYz; Received: from 75-166-72-210.hlrn.qwest.net ([75.166.72.210]:47026 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gh4dU-000HG2-1L; Tue, 08 Jan 2019 21:34:32 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 11/12] Update cleanup comment in ui-out.h Date: Tue, 8 Jan 2019 20:34:25 -0700 Message-Id: <20190109033426.16062-12-tom@tromey.com> In-Reply-To: <20190109033426.16062-1-tom@tromey.com> References: <20190109033426.16062-1-tom@tromey.com> ui-out.h refers to some cleanup functions that no longer exist. This updates the reference. gdb/ChangeLog 2019-01-08 Tom Tromey * ui-out.h (class ui_out_emit_type): Update comment. --- gdb/ChangeLog | 4 ++++ gdb/ui-out.h | 8 +++----- 2 files changed, 7 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 {