]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Move struct buildsym_compunit to buildsym.h
authorTom Tromey <tom@tromey.com>
Tue, 22 May 2018 20:27:43 +0000 (14:27 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Jul 2018 15:42:52 +0000 (09:42 -0600)
commitab209f6fa9dbaf0d3d0c42e2a8f14bf3ff7dfce8
tree59c7b2de51555c7feee5d05f32b7d7ada05d72ae
parent74c72eac237232e9c23c2b4e21d24941d804dae9
Move struct buildsym_compunit to buildsym.h

This moves struct buildsym_compunit to buildsym.h.  Now that the
members are private, and it no longer affects any global state in
buildsym.c, an instance can be used directly for symtab creation.

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

* buildsym.h (struct buildsym_compunit): Move from buildsym.c.
* buildsym.c (struct buildsym_compunit): Move to buildsym.h.
(buildsym_compunit::buildsym_compunit)
(buildsym_compunit::~buildsym_compunit)
(buildsym_compunit::get_macro_table): Define.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h