bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Macro Evaluation with print


From: Sean Sleicher
Subject: Macro Evaluation with print
Date: 15 Aug 2002 08:47:01 -0700

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
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gdb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]