From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23875 invoked by alias); 17 Sep 2019 03:10:23 -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 23864 invoked by uid 89); 17 Sep 2019 03:10:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.7 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=HX-HELO:sk:mail-yw, HX-Received:a81, H*RU:sk:mail-yw, HX-Spam-Relays-External:sk:mail-yw X-HELO: mail-yw1-f74.google.com Received: from mail-yw1-f74.google.com (HELO mail-yw1-f74.google.com) (209.85.161.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Sep 2019 03:10:21 +0000 Received: by mail-yw1-f74.google.com with SMTP id u131so1749347ywa.1 for ; Mon, 16 Sep 2019 20:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc :content-transfer-encoding; bh=R8iJq/nWivTmPpzUQ8nWVjp+58PgjNDtnIVm64pLXcQ=; b=vyEqyRgrpeVr9lADashIUwdOVlrpb7YNjpB0jmUIK1ginHdUK2UNuQ5/nsI1gmQjfZ TkGbqWRTdzxIQU1luoJrz+kSdY0QLcHXIFAkLT7bWLAiMGn+N/L86l3VXAOtV0/uhKuo BA/fAmyiqFRix4rrPYEn7aerubRP5oR2Y9R8eM+B2ds552PF1xgObz7gYmGie4TgTBAI b1oR6dCInhgssE6X88UkkYWJfKb6vk/T2dWK7AX166PD7Df8l/mlI3JlTA4xwXnaivWh pTSmcRS6Iwt8aB4EZrBpnIYjDgaaFgP2iF+wRLOFyWUG+9x/40/2ERBy+moBvNVCwCtE 2z2g== Date: Tue, 17 Sep 2019 03:10:00 -0000 Message-Id: <20190917031017.62445-1-cbiesinger@google.com> Mime-Version: 1.0 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/msg00304.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