Is there a way to make the GNU C Preprocessor, cpp (or some other tool) list all available macros and their values at a given point in a C fil
With gcc, you can use the "-dD" option to dump all the macro definitions to stdout.