From patchwork Fri Feb 21 21:53:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 38272 Received: (qmail 16131 invoked by alias); 21 Feb 2020 21:53:48 -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 16122 invoked by uid 89); 21 Feb 2020 21:53:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.3 required=5.0 tests=AWL, 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.1 spammy=introductory X-HELO: gateway21.websitewelcome.com Received: from gateway21.websitewelcome.com (HELO gateway21.websitewelcome.com) (192.185.45.38) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Feb 2020 21:53:44 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 2FC04400C7D74 for ; Fri, 21 Feb 2020 15:53:43 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 5GExjZcEnvBMd5GExjWRVg; Fri, 21 Feb 2020 15:53:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=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: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=SY9WQJnSjpa7hdig4SV4vZJ1bLB0LWd2r47rsJUV9wg=; b=fmKVGmKjXvWez27fOpeUs8fG8d G2/R6nzI4WXIDRbcBYVjmZNoM3F+bJwVZKcgackHLG0ER8XgMQvEso/dlR0w+j5MK2dlYqjyv5sSM UYFJwyGiOgFu/MvdDVUSKUq7O; Received: from 75-166-123-50.hlrn.qwest.net ([75.166.123.50]:35074 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j5GEw-000zKs-W9; Fri, 21 Feb 2020 14:53:43 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [pushed] Update partial_symtab comment Date: Fri, 21 Feb 2020 14:53:41 -0700 Message-Id: <20200221215341.8167-1-tom@tromey.com> The introductory comment for partial_symtab has been mildly incorrect since the partial symtab code was changed to allocate partial symtabs with "new". This patch removes the incorrect text. gdb/ChangeLog 2020-02-21 Tom Tromey * psympriv.h (struct partial_symtab): Update comment. --- gdb/ChangeLog | 4 ++++ gdb/psympriv.h | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/psympriv.h b/gdb/psympriv.h index 1b1f57cf764..0effedc4ec2 100644 --- a/gdb/psympriv.h +++ b/gdb/psympriv.h @@ -99,8 +99,7 @@ enum psymtab_search_status They are all chained on partial symtab lists. Even after the source file has been read into a symtab, the - partial_symtab remains around. They are allocated on an obstack, - objfile_obstack. */ + partial_symtab remains around. */ struct partial_symtab {