From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80477 invoked by alias); 20 Sep 2019 02:57:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 80463 invoked by uid 89); 20 Sep 2019 02:57:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qt1-f201.google.com Received: from mail-qt1-f201.google.com (HELO mail-qt1-f201.google.com) (209.85.160.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Sep 2019 02:57:37 +0000 Received: by mail-qt1-f201.google.com with SMTP id d1so6477728qtq.3 for ; Thu, 19 Sep 2019 19:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc:content-transfer-encoding; bh=R8iJq/nWivTmPpzUQ8nWVjp+58PgjNDtnIVm64pLXcQ=; b=gV73qPmLdBbRqgj/rCvNROUXPI89IxbaSy5Y2Eu12m2dfj/PboUa8wpD2+HY/FBOCG QVsfRxA7sEDXGpjHAlIXi/2UFCdmuyvHYxSB+STx03R7nrZ1xzZqy36SNu6uoUF19q/k jwuOG9wmlFOPUhfJ5ht+6amNgjwe5PRtS2ZNdQcjqRNVPKVmULriPRW90qoTZud06wMm jakkLXs2NHyfN8zKrb+O+qtQmIfFBZRHkK6PwvSQBEwGisvkAxwZGkMole446G7h/TS6 sYpe2euUNccr8ACIJ3KOUm2w7ZQoq8SkKm+OzpFzYqAjaV4GDb54WQtqd7cFnpp0+Qoh y0dg== Date: Fri, 20 Sep 2019 02:57:00 -0000 In-Reply-To: Message-Id: <20190920025733.42046-1-cbiesinger@google.com> Mime-Version: 1.0 References: Subject: [PUSHED/OBVIOUS] Don't duplicate comment in symfile.c and .h From: "Christian Biesinger via gdb-patches" Reply-To: Christian Biesinger To: gdb-patches@sourceware.org Cc: Christian Biesinger Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00393.txt.bz2 This just replaces the comment in the .c file with "See symfile.h.". gdb/ChangeLog: 2019-09-16 Christian Biesinger * symfile.c (auto_solib_add): Replace comment with a reference to the header file. --- gdb/symfile.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/gdb/symfile.c b/gdb/symfile.c index 3cd514409b..259a30aa04 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -141,15 +141,7 @@ static const char *print_symbol_loading_enums[] =3D }; static const char *print_symbol_loading =3D print_symbol_loading_full; =20 -/* If non-zero, shared library symbols will be added automatically - when the inferior is created, new libraries are loaded, or when - attaching to the inferior. This is almost always what users will - want to have happen; but for very large programs, the startup time - will be excessive, and so if this is a problem, the user can clear - this flag and then add the shared library symbols as needed. Note - that there is a potential for confusion, since if the shared - library symbols are not loaded, commands like "info fun" will *not* - report all the functions that are actually present. */ +/* See symfile.h. */ =20 int auto_solib_add =3D 1; =0C --=20 2.23.0.237.gc6a4ce50a0-goog