Delete "Loaded symbols for ..." message, it is redundant.
authorDoug Evans <dje@google.com>
Tue, 12 Aug 2014 00:21:07 +0000 (17:21 -0700)
committerDoug Evans <dje@google.com>
Tue, 12 Aug 2014 00:21:07 +0000 (17:21 -0700)
* 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.

gdb/ChangeLog
gdb/solib.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/print-symbol-loading.exp

index 33b6f540d0cdb55258314d55045b3dcc144998cd..5f962593d052ece6cf2bc6d1ba47528482340a5f 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-11  Doug Evans  <dje@google.com>
+
+       * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
+       message, it is redundant with "Reading symbols from ..." message.
+
 2014-08-10  Doug Evans  <xdje42@gmail.com>
 
        * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
index 90ea45410b78b259d0595fbedc70c51a7a4036c8..2f641059b79576892ab06702ebbf715cc60d26e3 100644 (file)
@@ -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;
     }
 
index 6ae9f6eaa33a7e429e5f129a783599aac6550570..a6e47148eae4db05c684ae1eda09eb5bbcdd26c2 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-11  Doug Evans  <dje@google.com>
+
+       * gdb.base/print-symbol-loading.exp (test_load_core): Update.
+       (test_load_shlib): Update.
+
 2014-08-09  Yao Qi  <yao@codesourcery.com>
 
        * gdb.base/display.exp: Invoke is_address_zero_readable.
index a080ce1e5a453c6a5b11fd9e2d649b6282a303c2..1abfa2aef92c6c678f1fe8c65f343c5efe6d60eb 100644 (file)
@@ -93,7 +93,7 @@ proc test_load_core { print_symbol_loading } {
            }
            "full" {
                gdb_test "set solib-search-path [file dirname ${binfile_lib}]" \
-                   "Reading symbols from.*Loaded symbols for.*" \
+                   "Reading symbols from.*" \
                    ${test_name}
            }
        }
@@ -129,7 +129,7 @@ proc test_load_shlib { print_symbol_loading } {
            }
            "full" {
                gdb_test "sharedlibrary .*" \
-                   "Reading symbols from.*Loaded symbols for.*" \
+                   "Reading symbols from.*" \
                    ${test_name}
            }
        }
This page took 0.037427 seconds and 4 git commands to generate.