------- Comment #12 from pinskia at gcc dot gnu dot org 2009-05-05 20:45 ------- (In reply to comment #11) > I have a gdb session open, but I'm rather clueless. I have this: > but the following fails: > > (gdb) call debug_tree((*x).generic.type.next_variant) > Cannot access memory at address 0x7fff5d302f78
That is because gdb uses the same stack as the program when doing a call so of course that will fail :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40005