aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index ce23210..6179077 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -283,6 +283,8 @@ terminate_minimal_symbol_table (struct objfile *objfile)
= &objfile->msymbols[objfile->minimal_symbol_count];
memset (m, 0, sizeof (*m));
+ /* Don't rely on these enumeration values being 0's. */
+ MSYMBOL_TYPE (m) = mst_unknown;
SYMBOL_INIT_LANGUAGE_SPECIFIC (m, language_unknown);
}
}