macro expansion doesn't work when looking at fortran code

Tom Tromey
Mon Aug 23 18:33:00 GMT 2010

>>>>> "Mathew" == Mathew Yeates <> writes:

Mathew> I have to go up a few frames until I get to the calling C code. Only
Mathew> then can I see what a constant is set to.

You can try "macro expand CONSTANT".

Mathew> Related to the "fortran case" problem?

It is

In gdb, a language's expression parser must call into the macro
expansion code.  Nobody has yet done this for fortran.


More information about the Gdb mailing list