[binutils-gdb] Move struct buildsym_compunit to buildsym.h

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Fri Jul 20 20:08:00 GMT 2018


*** TEST RESULTS FOR COMMIT ab209f6fa9dbaf0d3d0c42e2a8f14bf3ff7dfce8 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ab209f6fa9dbaf0d3d0c42e2a8f14bf3ff7dfce8

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.



More information about the Gdb-testers mailing list