diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-20 11:16:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-16 08:55:18 -0600 |
commit | 6b84eeb21628a89b40c985b527d3d5db7806c93c (patch) | |
tree | b6776a73b8fc1f5bf2cd6474898e89f85c30d9c8 /gdb/dwarf2read.c | |
parent | 2150c3ef045a525b1d74c06eb8b0811621f264e3 (diff) | |
download | gdb-6b84eeb21628a89b40c985b527d3d5db7806c93c.zip gdb-6b84eeb21628a89b40c985b527d3d5db7806c93c.tar.gz gdb-6b84eeb21628a89b40c985b527d3d5db7806c93c.tar.bz2 |
Move processing_gcc to stabsread
processing_gcc is also only used by stabsread -- it is set by the
DWARF reader, but this turns out not to be needed. So, this patch
moves processing_gcc and removes the assignment from the DWARF reader.
gdb/ChangeLog
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.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 372f45e..ff9d72c 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -21026,9 +21026,6 @@ dwarf2_start_symtab (struct dwarf2_cu *cu, 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; |