diff options
author | Fred Fish <fnf@specifix.com> | 1992-01-24 06:32:43 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-01-24 06:32:43 +0000 |
commit | 99140c31feccacf3a4a56f21b07f634e7112a120 (patch) | |
tree | 70ec34b17c74ab974fa7cf6c52c458c10eb030ae /gdb | |
parent | 75798a7ebadd1c117aeb9da43fa3f83cec9de459 (diff) | |
download | gdb-99140c31feccacf3a4a56f21b07f634e7112a120.zip gdb-99140c31feccacf3a4a56f21b07f634e7112a120.tar.gz gdb-99140c31feccacf3a4a56f21b07f634e7112a120.tar.bz2 |
The list_in_scope pointer needs to be initialized to point to a
valid scope. Use the file scope as the initial scope.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/dwarfread.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c8d39f6..479aad8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index b170ff7..da2a87f 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -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 |