aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-08-11 17:21:07 -0700
committerDoug Evans <dje@google.com>2014-08-11 17:21:07 -0700
commitd769e349bc2c28261d4b2391b58eb7dc3f452e99 (patch)
tree48ba127ee303169dd59d56d274fb3a0a07a2d482 /gdb/solib.c
parent40a6ca48cc99c52dda81172bfeab0bf831d440e9 (diff)
downloadgdb-d769e349bc2c28261d4b2391b58eb7dc3f452e99.zip
gdb-d769e349bc2c28261d4b2391b58eb7dc3f452e99.tar.gz
gdb-d769e349bc2c28261d4b2391b58eb7dc3f452e99.tar.bz2
Delete "Loaded symbols for ..." message, it is redundant.
* solib.c (solib_read_symbols): Delete "Loaded symbols for ..." message, it is redundant with "Reading symbols from ..." message. testsuite/ * gdb.base/print-symbol-loading.exp (test_load_core): Update. (test_load_shlib): Update.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 90ea454..2f64105 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -603,8 +603,6 @@ master_so_list (void)
int
solib_read_symbols (struct so_list *so, int flags)
{
- const int from_tty = flags & SYMFILE_VERBOSE;
-
if (so->symbols_loaded)
{
/* If needed, we've already warned in our caller. */
@@ -648,11 +646,7 @@ solib_read_symbols (struct so_list *so, int flags)
" library symbols for %s:\n"),
so->so_name);
else
- {
- if (print_symbol_loading_p (from_tty, 0, 1))
- printf_unfiltered (_("Loaded symbols for %s\n"), so->so_name);
- so->symbols_loaded = 1;
- }
+ so->symbols_loaded = 1;
return 1;
}