The list_in_scope pointer needs to be initialized to point to a
authorFred Fish <fnf@specifix.com>
Fri, 24 Jan 1992 06:32:43 +0000 (06:32 +0000)
committerFred Fish <fnf@specifix.com>
Fri, 24 Jan 1992 06:32:43 +0000 (06:32 +0000)
valid scope.  Use the file scope as the initial scope.

gdb/ChangeLog
gdb/dwarfread.c

index c8d39f6ca1a49bc1b6bcb8864d70d8580f6c37e8..479aad8c59e56ca1b146f312b9ac89ec8644d821 100644 (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.
index b170ff74cd1a89aa00506bd20b67b430bcd4fbc1..da2a87f198d4d7eb54976fe76d2dabdb1a83955d 100644 (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
This page took 0.029561 seconds and 4 git commands to generate.