Add STRINGIFY to gdb/common/preprocessor.h
authorPedro Alves <palves@redhat.com>
Thu, 22 Jun 2017 09:23:30 +0000 (10:23 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 22 Jun 2017 09:59:42 +0000 (10:59 +0100)
commitd269dfc64fb5307dbbaecbc5d55861a705b729ab
treef1a6ff725f1975447fa4605d2575002ea145c689
parentb45a120833d862aeeba6803b2cc131724ef89dda
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.
gdb/common/agent.h
gdb/common/preprocessor.h
gdb/compile/compile-c-support.c
gdb/ia64-libunwind-tdep.c
This page took 0.026252 seconds and 4 git commands to generate.