The list_in_scope pointer needs to be initialized to point to a

valid scope.  Use the file scope as the initial scope.
This commit is contained in:
Fred Fish 1992-01-24 06:32:43 +00:00
parent 75798a7eba
commit 99140c31fe
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@ Thu Jan 23 22:24:43 1992 Fred Fish (fnf at cygnus.com)
* ansidecl.h: Removed, is duplicate of ../include/ansidecl.h
* Makefile.in (MALLOCSRC): Removed reference to removed local
copy of ansidecl.h.
* dwarfread.c (list_in_scope): Needs an initial value, use file
scope.
Mon Jan 20 19:06:28 1992 Stu Grossman (grossman at cygnus.com)
* main.c (main): Make option_index local to keep new getopt happy.

View File

@ -237,7 +237,7 @@ struct dwfinfo {
local scope, and all other local scopes as nested local scopes, and worked
fine. Check to see if we really need to distinguish these in buildsym.c */
struct pending **list_in_scope;
struct pending **list_in_scope = &file_symbols;
/* DIES which have user defined types or modified user defined types refer to
other DIES for the type information. Thus we need to associate the offset