[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Seeing #defines in GDB
From: |
Jim Blandy |
Subject: |
Re: Seeing #defines in GDB |
Date: |
19 Jan 2001 17:28:39 -0500 |
Jimmy Mc Namara <address@hidden> 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.