Don't duplicate comment in symfile.c and .h

This just replaces the comment in the .c file with
"See symfile.h.".

gdb/ChangeLog:

2019-09-16  Christian Biesinger  <cbiesinger@google.com>

	* symfile.c (auto_solib_add): Replace comment with a reference
	to the header file.
This commit is contained in:
Christian Biesinger 2019-09-16 22:07:16 -05:00
parent 3cd76124bd
commit f2f24aa9c4
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2019-09-16 Christian Biesinger <cbiesinger@google.com>
* symfile.c (auto_solib_add): Replace comment with a reference
to the header file.
2019-09-14 Christian Biesinger <cbiesinger@google.com> 2019-09-14 Christian Biesinger <cbiesinger@google.com>
* NEWS: Mention that gdb can now be compiled with Python 3 * NEWS: Mention that gdb can now be compiled with Python 3

View File

@ -141,15 +141,7 @@ static const char *print_symbol_loading_enums[] =
}; };
static const char *print_symbol_loading = print_symbol_loading_full; static const char *print_symbol_loading = print_symbol_loading_full;
/* If non-zero, shared library symbols will be added automatically /* See symfile.h. */
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. */
int auto_solib_add = 1; int auto_solib_add = 1;