aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index b1994f1..393a433 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -3747,7 +3747,7 @@ parse_partial_symbols (minimal_symbol_reader &reader,
&& pst->number_of_dependencies == 0
&& pst->n_global_syms == 0
&& pst->n_static_syms == 0)
- objfile->partial_symtabs->psymtabs = NULL;
+ objfile->partial_symtabs->discard_psymtab (pst);
}
/* If the current psymbol has an enumerated type, we need to add