Patchwork FYI: reformat parameters of gdb/psymtab.c::recursively_search_psymtabs

login
register
mail settings
Submitter Joel Brobecker
Date Oct. 4, 2018, 10:08 p.m.
Message ID <1538690890-37384-1-git-send-email-brobecker@adacore.com>
Download mbox | patch
Permalink /patch/29654/
State New
Headers show

Comments

Joel Brobecker - Oct. 4, 2018, 10:08 p.m.
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,

Patch

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  <brobecker@adacore.com>
+
+	* psymtab.c (recursively_search_psymtabs): Reformat parameters
+	to avoid exceeding 80 characters per line limit.
+
 2018-10-04  Tom Tromey  <tom@tromey.com>
 
 	* 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<expand_symtabs_symbol_matcher_ftype> sym_matcher)
 {