Move processing_gcc to stabsread
authorTom Tromey <tom@tromey.com>
Sun, 20 May 2018 17:16:57 +0000 (11:16 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 16 Jul 2018 14:55:18 +0000 (08:55 -0600)
commit6b84eeb21628a89b40c985b527d3d5db7806c93c
treeb6776a73b8fc1f5bf2cd6474898e89f85c30d9c8
parent2150c3ef045a525b1d74c06eb8b0811621f264e3
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.
gdb/ChangeLog
gdb/buildsym.h
gdb/dwarf2read.c
gdb/stabsread.h