Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Delete "Loaded symbols for ..." message in solib.c
@ 2014-02-24 23:31 Doug Evans
  2014-02-24 23:37 ` Doug Evans
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Evans @ 2014-02-24 23:31 UTC (permalink / raw)
  To: gdb-patches

Hi.

gdb currently prints two messages when loading symbols for shared libraries.
E.g.,

Reading symbols from /usr/lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libm.so.6

The second one is redundant.

Regression tested on amd64-linux.

2014-02-24  Doug Evans  <dje@google.com>

	* solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
	message, it is redundant with "Reading symbols from ..." message.

diff --git a/gdb/solib.c b/gdb/solib.c
index 3350bfd..8fd4f60 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -649,11 +649,7 @@ solib_read_symbols (struct so_list *so, int flags)
 					    " library symbols for %s:\n"),
 			   so->so_name);
       else
-	{
-	  if (from_tty || info_verbose)
-	    printf_unfiltered (_("Loaded symbols for %s\n"), so->so_name);
-	  so->symbols_loaded = 1;
-	}
+	so->symbols_loaded = 1;
       return 1;
     }
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-12  0:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 23:31 [PATCH] Delete "Loaded symbols for ..." message in solib.c Doug Evans
2014-02-24 23:37 ` Doug Evans
2014-08-12  0:24   ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox