[RFC] Fortran-intern "tree browser"
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Sep 3 15:47:00 GMT 2008
On Wed, Sep 03, 2008 at 05:16:00PM +0200, Tobias Schl?ter wrote:
>
> Daniel Kraft wrote:
> >I'm just in the middle of a debugging-session for PR 37099, and find it
> >somewhat tedious to analyse the gfortran-internal trees (mostly
> >gfc_expr) via gdb's print dump. Especially wide-character strings and
> >things like gmp-constants are quite hard to figure out by hand...
>
> It should be possible to call gfc_show_expr() and the like from the
> debugger. At least I put a patch into the tree for exactly this
> purpose. This should address most of your ideas.
>
It appears someone (un)fixed your changed.
mobile:kargl[214] grep gfc_show_expr *c
mobile:kargl[215] grep -2 -E ^show_expr *c
dump-parse-tree.c-
dump-parse-tree.c-static void
dump-parse-tree.c:show_expr (gfc_expr *p)
dump-parse-tree.c-{
Checking ChangeLog, no one appears to own up to this change.
Daniel, have you tried using the insight debugger. It uses
tcl/tk and was put together by a group of redhat gcc
developers.
--
Steve
More information about the Fortran
mailing list