2018-07-16 Tom Tromey <tom@tromey.com>
+ * stabsread.h (processing_gcc_compilation): Move from buildsym.h.
+ * dwarf2read.c (dwarf2_start_symtab): Don't set
+ processing_gcc_compilation.
+ * buildsym.h (processing_gcc_compilation): Move to stabsread.h.
+
+2018-07-16 Tom Tromey <tom@tromey.com>
+
* stabsread.h (HASHSIZE, hashname, symnum, next_symbol_text)
(next_symbol_text_func): Move from buildsym.h.
* stabsread.c (hashname): Move from buildsym.c.
EXTERN struct subfile *current_subfile;
-/* Global variable which, when set, indicates that we are processing a
- .o file compiled with gcc */
-
-EXTERN unsigned char processing_gcc_compilation;
-
/* Record the symbols defined for each context in a list. We don't
create a struct block for the context until we know how long to
make it. */
record_debugformat ("DWARF 2");
record_producer (cu->producer);
- /* We assume that we're processing GCC output. */
- processing_gcc_compilation = 2;
-
cu->processing_has_namespace_info = 0;
return cust;
EXTERN const char *(*next_symbol_text_func) (struct objfile *);
+/* Global variable which, when set, indicates that we are processing a
+ .o file compiled with gcc */
+
+EXTERN unsigned char processing_gcc_compilation;
+
/* Hash table of global symbols whose values are not known yet.
They are chained thru the SYMBOL_VALUE_CHAIN, since we don't
have the correct data for that slot yet.