This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add STRINGIFY to gdb/common/preprocessor.h
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 22 Jun 2017 07:11:06 -0400
- Subject: [binutils-gdb] Add STRINGIFY to gdb/common/preprocessor.h
- Authentication-results: sourceware.org; auth=none
*** 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.