gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 11 Jan 2010 16:30:10 +0000 (16:30 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 11 Jan 2010 16:30:10 +0000 (16:30 +0000)
* solib.c (info_sharedlibrary_command): Replace
objfile_has_partial_symbols and objfile_has_full_symbols calls by
objfile_has_symbols.

gdb/ChangeLog
gdb/solib.c

index 0bb0c99e69f869b0aa5e671b0a1840e2824f5321..8a12029a02d513eccc0c6c10fa6624d7866dadfe 100644 (file)
@@ -1,3 +1,10 @@
+2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Tristan Gingold  <gingold@adacore.com>
+
+       * solib.c (info_sharedlibrary_command): Replace
+       objfile_has_partial_symbols and objfile_has_full_symbols calls by
+       objfile_has_symbols.
+
 2010-01-10  Joel Brobecker  <brobecker@adacore.com>
 
        * NEWS: Document the improvements made to the mips-irix port.
index 6d6bf83588918609cf0c248ab48148554e22337f..21006d8cdea92b32b6a266daae4ba7bd7803333d 100644 (file)
@@ -863,8 +863,7 @@ info_sharedlibrary_command (char *pattern, int from_tty)
 
       if (! ui_out_is_mi_like_p (interp_ui_out (top_level_interpreter ()))
          && so->symbols_loaded
-         && !objfile_has_partial_symbols (so->objfile)
-         && !objfile_has_full_symbols (so->objfile))
+         && !objfile_has_symbols (so->objfile))
        {
          so_missing_debug_info = 1;
          ui_out_field_string (uiout, "syms-read", "Yes (*)");