macro expansion doesn't work when looking at fortran code

Tom Tromey tromey@redhat.com
Mon Aug 23 18:33:00 GMT 2010


>>>>> "Mathew" == Mathew Yeates <mat.yeates@gmail.com> 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 http://sourceware.org/bugzilla/show_bug.cgi?id=9609

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

Tom



More information about the Gdb mailing list