From patchwork Thu Oct 4 22:08:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 29654 Received: (qmail 126999 invoked by alias); 4 Oct 2018 22:08:16 -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 126988 invoked by uid 89); 4 Oct 2018 22:08:15 -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_PASS autolearn=ham version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Oct 2018 22:08:14 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A89C15611D for ; Thu, 4 Oct 2018 18:08:12 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lEiAF9GyFFd3 for ; Thu, 4 Oct 2018 18:08:12 -0400 (EDT) Received: from tron.gnat.com (tron.gnat.com [IPv6:2620:20:4000:0:46a8:42ff:fe0e:e294]) by rock.gnat.com (Postfix) with ESMTP id 9985C56119 for ; Thu, 4 Oct 2018 18:08:12 -0400 (EDT) Received: by tron.gnat.com (Postfix, from userid 4233) id 95EAD34A9; Thu, 4 Oct 2018 18:08:12 -0400 (EDT) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: FYI: reformat parameters of gdb/psymtab.c::recursively_search_psymtabs Date: Thu, 4 Oct 2018 18:08:10 -0400 Message-Id: <1538690890-37384-1-git-send-email-brobecker@adacore.com> Hello, (a minor style violation issue I noticed while reading the code) This is just to make sure one of the parameters doesn't end past the 80 characters limit. And while at it, since all parameters were on their own line except the first two that were listed on the same line, it felf more consistent to just split them to have each and every parameter on their own line. gdb/ChangeLog: * psymtab.c (recursively_search_psymtabs): Reformat parameters to avoid exceeding 80 characters per line limit. Tested by rebuilding GDB on x86_64-linux. Thanks, diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 34cf536..d026da0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-10-04 Joel Brobecker + + * psymtab.c (recursively_search_psymtabs): Reformat parameters + to avoid exceeding 80 characters per line limit. + 2018-10-04 Tom Tromey * symfile.c (syms_from_objfile_1, finish_new_objfile) diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 274d567..915e4fb 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -1230,7 +1230,9 @@ psym_map_matching_symbols (struct objfile *objfile, static bool recursively_search_psymtabs - (struct partial_symtab *ps, struct objfile *objfile, enum search_domain domain, + (struct partial_symtab *ps, + struct objfile *objfile, + enum search_domain domain, const lookup_name_info &lookup_name, gdb::function_view sym_matcher) {