Macro Evaluation with print
[email protected] (Sean Sleicher)
| Newsgroups | gmane.comp.gdb.bugs.general |
|---|---|
| Organization | http://groups.google.com/ |
| Message-ID | <[email protected]> |
How is it possible to use gdb to evaluate expressions which contain macros? I am using macros defined in a header file. If I attach to a process and attempt to print an expression containing the macro name then I am told : No symbol "my_symbol" in current context I am presuming that the macro is replaced in the symbol table by its definition, but surely there is some way of telling the compiler to retain that information? I am inexperienced I may have missed something obvious. Thanks, Sean