On Wed, Feb 20, 2019 at 09:37:52PM +0100, Thomas König wrote: > Am 20.02.19 um 21:36 schrieb Steve Kargl: > > On Wed, Feb 20, 2019 at 09:10:51PM +0100, Thomas König wrote: > >> Hello world, > >> > >> the attached patch implements a few versions of debug for Fortran data > >> structures. It lets you type, for example > >> > >> (gdb) call debug (expr) > >> > >> and get some output which is readable, instead of having to look at > >> the structures yourself. > >> > >> This has no user impact, because thsese functions are never called > >> from the compiler itself. > >> > >> Comments, suggestions etc welcome. I will commit in a couple of days > >> unless there are objections. Once that is done, I will also adjust > >> the quickstart guide on the wiki. > >> > >> Oh yes, the code compiles :-) > > > > Did you mean to attach a patch? > > Well, yes :-) >
Looks ok to me. Anything that makes looking at a gfc_symbol more pleasant is a plus. I've toyed with the idea of putting the gfc_attribute structure in alphabetical order to make it easier to find sym->attr.XXX. -- Steve