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

_______________________________________________
Bug-gdb mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-gdb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.