[binutils-gdb] Parameterize cp_scan_for_anonymous_namespaces

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


*** TEST RESULTS FOR COMMIT 80e649fcac86101a8a4581317e867e89de015d28 ***

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

Parameterize cp_scan_for_anonymous_namespaces

This changes cp_scan_for_anonymous_namespaces to use the
buildsym_compunit API, rather than the function-based API.

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

	* stabsread.c (define_symbol): Update.
	* buildsym-legacy.h (get_buildsym_compunit): Declare.
	* dwarf2read.c (new_symbol): Update.
	* cp-support.h (cp_scan_for_anonymous_namespaces): Update.
	* cp-namespace.c: Include buildsym.h.
	(cp_scan_for_anonymous_namespaces): Add "compunit" parameter.
	* buildsym-legacy.c (get_buildsym_compunit): New function.



More information about the Gdb-testers mailing list