summaryrefslogtreecommitdiffstats
path: root/gdb/os9kread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/os9kread.c')
-rw-r--r--gdb/os9kread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/os9kread.c b/gdb/os9kread.c
index 8dcf2519e2..591161c1d1 100644
--- a/gdb/os9kread.c
+++ b/gdb/os9kread.c
@@ -320,8 +320,9 @@ os9k_symfile_read (struct objfile *objfile, int mainline)
sym_bfd = objfile->obfd;
/* If we are reinitializing, or if we have never loaded syms yet, init */
- if (mainline || objfile->global_psymbols.size == 0 ||
- objfile->static_psymbols.size == 0)
+ if (mainline
+ || (objfile->global_psymbols.size == 0
+ && objfile->static_psymbols.size == 0))
init_psymbol_list (objfile, DBX_SYMCOUNT (objfile));
free_pending_blocks ();
OpenPOWER on IntegriCloud