diff options
author | Joel Brobecker <brobecker@adacore.com> | 2018-10-04 18:04:13 -0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2018-10-04 18:04:13 -0400 |
commit | d2f7dcb218cc281288a5c3ea800a186c68f9d2ae (patch) | |
tree | 2c1fc0e685243b0ba7ddab3c4585faa195018ff8 | |
parent | 3e1b4df89cfa5171c52245d79434774f4b570ae1 (diff) | |
download | gdb-d2f7dcb218cc281288a5c3ea800a186c68f9d2ae.zip gdb-d2f7dcb218cc281288a5c3ea800a186c68f9d2ae.tar.gz gdb-d2f7dcb218cc281288a5c3ea800a186c68f9d2ae.tar.bz2 |
reformat parameters of gdb/psymtab.c::recursively_search_psymtabs
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/psymtab.c | 4 |
2 files changed, 8 insertions, 1 deletions
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) { |