public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Is there a recursive debug_c_tree which decodes "variant tag"?
@ 2009-05-28 18:18 Larry Evans
  2009-05-28 18:23 ` Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Evans @ 2009-05-28 18:18 UTC (permalink / raw)
  To: gcc

While attempting to debug the compiler on:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40092

I'm having great difficulty understanding the output
of debug_c_tree or debug_tree because the child
tree's are not shown.  The ddd debugger:

   http://www.gnu.org/software/ddd/

is some help; however, even there it's unclear
what the tree looks like because the tree is
some sort of variant and ddd apparently doesn't
know how to interpret the variant's tag.  Instead,
I have to trial and error what the variant is
and mostly miss the mark.

Is there any such debug_tree function usable in
gdb or ddd which will show the actual tree
variant?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-28 19:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-28 18:18 Is there a recursive debug_c_tree which decodes "variant tag"? Larry Evans
2009-05-28 18:23 ` Ian Lance Taylor
2009-05-28 21:06   ` Larry Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).