diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-02-17 19:37:37 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-02-17 19:37:37 +0000 |
commit | afc86b6c51041c22429c4e4c7d188d2174da3b3e (patch) | |
tree | 81b0681379d0dff2f3c9d8496ed4c5037c548cd6 /gdb/objfiles.c | |
parent | 3cb8aa90d62d26ab369f30dfaaf1e9923f850540 (diff) | |
download | gdb-afc86b6c51041c22429c4e4c7d188d2174da3b3e.tar.gz |
2004-02-17 Elena Zannoni <ezannoni@redhat.com>
* objfiles.c (terminate_minimal_symbol_table): Add back
initialization of MSYMBOL_TYPE.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index ce23210bec2..61790778d18 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); } } |