aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
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
commite0ae4240662bc4d1f9ec5e121897878e1195aed2 (patch)
tree8d71d8fb2f4d641c4b85c30e0c091d17aaf66a56 /gdb/solib.c
parent9a753de0adf48e4693c378823c484c7f0061d22f (diff)
downloadfsf-binutils-gdb-e0ae4240662bc4d1f9ec5e121897878e1195aed2.zip
fsf-binutils-gdb-e0ae4240662bc4d1f9ec5e121897878e1195aed2.tar.gz
fsf-binutils-gdb-e0ae4240662bc4d1f9ec5e121897878e1195aed2.tar.bz2
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/solib.c')
-rw-r--r--gdb/solib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 6d6bf83..21006d8 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 (*)");