[binutils-gdb] Add STRINGIFY to gdb/common/preprocessor.h

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Thu Jun 22 11:52:00 GMT 2017


*** TEST RESULTS FOR COMMIT d269dfc64fb5307dbbaecbc5d55861a705b729ab ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d269dfc64fb5307dbbaecbc5d55861a705b729ab

Add STRINGIFY to gdb/common/preprocessor.h

We have several copies of this common idiom under gdb/ currently.
This commit moves them / factors them out to gdb/common/preprocessor.h.

gdb/ChangeLog:
2017-06-22  Pedro Alves  <palves@redhat.com>

	* common/agent.h: Include "common/preprocessor.h".
	(STRINGIZE_1, STRINGIZE): Delete.
	(IPA_SYM): Use STRINGIFY instead.
	* common/preprocessor.h (STRINGIFY_1, STRINGIFY): New.
	* compile/compile-c-support.c: Include "common/preprocessor.h".
	(STR, STRINGIFY): Delete.
	* ia64-libunwind-tdep.c: Include "common/preprocessor.h".
	(STRINGIFY2, STRINGIFY): Delete.



More information about the Gdb-testers mailing list