Jimmy Mc Namara <[EMAIL PROTECTED]> writes:
> I have used gdb for a while now but cannot find away of finding out the
> value of a #define during my debugging( besides jumping out to the
> header file it is contained in). Is there a method to do this.

At the moment, GDB has no information on macro definitions.  You can't
use macros in expressions, ask if they're defined, etc.  The Dwarf 2
debugging format does specify how to encode this information, but GCC
doesn't emit it, and GDB wouldn't consume it if it did.

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to