🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Sean Sleicher Thu, 15 Aug 2002 15:47
Macro Evaluation with print
#1349
Author: Sean Sleicher
Date: Thu, 15 Aug 2002 15:47
11 lines
1758 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads