public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Don't duplicate comment in symfile.c and .h
@ 2019-09-17  3:10 Christian Biesinger
  0 siblings, 0 replies; only message in thread
From: Christian Biesinger @ 2019-09-17  3:10 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f2f24aa9c438e540fd751690f52dbcbf5e5b8aa6

commit f2f24aa9c438e540fd751690f52dbcbf5e5b8aa6
Author: Christian Biesinger <cbiesinger@google.com>
Date:   Mon Sep 16 22:07:16 2019 -0500

    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.

Diff:
---
 gdb/ChangeLog |  5 +++++
 gdb/symfile.c | 10 +---------
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fc2260d..59c6f75 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
 
 	* NEWS: Mention that gdb can now be compiled with Python 3
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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-17  3:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17  3:10 [binutils-gdb] Don't duplicate comment in symfile.c and .h Christian Biesinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).