help macro
You must compile with the -g3 flag for it to work and start your program before the macros are loaded.
In your case:
info macro CONST
or
macro expand CONST
More info: http://sourceware.org/gdb/current/onlinedocs/gdb/Macros.html
More Related Contents:
- The need for parentheses in macros in C [duplicate]
- #define macro for debug printing in C?
- #pragma pack effect
- Should I use #include in headers?
- Real-world use of X-Macros
- Easy way to use variables of enum types as string in C?
- MIN and MAX in C
- How do I check OS with a preprocessor directive?
- Stringification of a macro value
- “#include” a text file in a C program as a char[]
- What is the meaning of lines starting with a hash sign and number like ‘# 1 “a.c”‘ in the gcc preprocessor output?
- Macro vs Function in C
- How to compare strings in C conditional preprocessor-directives
- What exactly do C include guards do?
- Understanding container_of macro in the Linux kernel
- Best way to invoke gdb from inside program to print its stacktrace?
- What does ## mean for the C(C++) preprocessor?
- How can I tell if a library was compiled with -g?
- Finding out what the GCC include path is [duplicate]
- Type of #define variables
- C preprocessor: expand macro in a #warning
- C circular dependency
- How do I pass a command line argument while starting up GDB in Linux? [duplicate]
- How to modify memory contents using GDB?
- What is a good reference documenting patterns of use of X-Macros in C (or possibly C++)?
- How to do an specific action when a certain breakpoint is hit in GDB?
- Recommended way to track down array out-of-bound access/write in C program
- offsetof at compile time
- Using Parentheses in Define Preprocessor Statements
- Debugging child process after fork (follow-fork-mode child configured)