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

Tom Tromey <tromey at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu.org

--- Comment #7 from Tom Tromey <tromey at gcc dot gnu.org> ---
> seems that nested function lowering and debugging don't play well together.

Note that sometimes nested functions appear to work in gdb -- but
actually they do not, and if you get the right answer it is largely
just luck.  gdb ignores DW_AT_static_link. 
My attempt to make gdb understand this failed due to gcc bug #53927.


In this particular bug I am going to guess that the problem is the
use of non-constant array bounds in the DWARF, which gdb still
doesn't understand.  There's an ongoing project to fix this.

Reply via email to