To check whether Macro is defined or not

Viewed 4678

How can we check wheather a Macro is defined or not, and if defined then with what value? I tried doing gdb, but we can not see the Macros in GDB, as MACROs are replaced at the time of Precompilation only.

Is there any way in GCC compiler that we can see the precompiled file, which is created by the compiler before creating the object file (*.o) ?

2 Answers
Related