Move have_line_numbers to buildsym_compunit
authorTom Tromey <tom@tromey.com>
Sun, 20 May 2018 16:48:41 +0000 (10:48 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 16 Jul 2018 14:55:16 +0000 (08:55 -0600)
commit530fedbcbf61b6d74c76a8ba720fe29d98896831
tree22a41ec3bf3b32adc9437edc264d153a710bc1db
parent6a976300e78cf6c90b5b70626ff1b28f495d8bab
Move have_line_numbers to buildsym_compunit

This moves the global have_line_numbers into buildsym_compunit.

gdb/ChangeLog
2018-07-16  Tom Tromey  <tom@tromey.com>

* buildsym.c (struct buildsym_compunit) <m_have_line_numbers>: New
member.
(have_line_numbers): Remove.
(record_line, prepare_for_building, end_symtab_get_static_block)
(augment_type_symtab): Update.
gdb/ChangeLog
gdb/buildsym.c