gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 5 Nov 2010 01:40:28 +0000 (01:40 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 5 Nov 2010 01:40:28 +0000 (01:40 +0000)
* solib.c (solib_read_symbols): Call exception_fprintf even without
FROM_TTY.  Print also so->so_name.

gdb/ChangeLog
gdb/solib.c

index ff6b5fd064466355f7fa1d35fc133d00d8e1c018..af9fe6cb749b92c8aeeaf1fd3882faf19b390c34 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib.c (solib_read_symbols): Call exception_fprintf even without
+       FROM_TTY.  Print also so->so_name.
+
 2010-11-04  Sami Wagiaalla  <swagiaal@redhat.com>
 
        * gdbtypes.h (struct rank): Created subrank.
index 837814b5906ab1f6e90689c1296dcbe55367d008..acb6145830d0faa92e7539e74bb0a8d2c2021992 100644 (file)
@@ -652,12 +652,9 @@ solib_read_symbols (struct so_list *so, int flags)
        }
 
       if (e.reason < 0)
-       {
-         if (from_tty)
-           exception_fprintf
-             (gdb_stderr, e,
-              _("Error while reading shared library symbols:\n"));
-       }
+       exception_fprintf (gdb_stderr, e, _("Error while reading shared"
+                                           " library symbols for %s:\n"),
+                          so->so_name);
       else
        {
          if (from_tty || info_verbose)
This page took 0.029637 seconds and 4 git commands to generate.