aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-09-16 22:07:16 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-09-16 22:10:36 -0500
commitf2f24aa9c438e540fd751690f52dbcbf5e5b8aa6 (patch)
treeccd492b10c1422007076ed4e85f7ac52b0fa2d3c /gdb/symfile.c
parent3cd76124bdf5b52163d8d1bfe8edeb7a4aedfc8b (diff)
downloadgdb-f2f24aa9c438e540fd751690f52dbcbf5e5b8aa6.zip
gdb-f2f24aa9c438e540fd751690f52dbcbf5e5b8aa6.tar.gz
gdb-f2f24aa9c438e540fd751690f52dbcbf5e5b8aa6.tar.bz2
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.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 3cd5144..259a30a 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -141,15 +141,7 @@ static const char *print_symbol_loading_enums[] =
};
static const char *print_symbol_loading = print_symbol_loading_full;
-/* 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. */
int auto_solib_add = 1;