summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-01-11 16:30:10 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-01-11 16:30:10 +0000
commita66d6ab2060b3881afee8dd7e2993d30bffc4666 (patch)
treec683b94c52adb0c1d9c0761721211b2fdbf6bb9a /gdb
parenta97de3f411e7dc3b01d16e1e257c3afda258795b (diff)
downloadgdb-a66d6ab2060b3881afee8dd7e2993d30bffc4666.tar.gz
gdb/
* solib.c (info_sharedlibrary_command): Replace objfile_has_partial_symbols and objfile_has_full_symbols calls by objfile_has_symbols.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/solib.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0bb0c99e69f..8a12029a02d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/solib.c b/gdb/solib.c
index 6d6bf835889..21006d8cdea 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -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 (*)");