This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18157] Segfault when debugging a program where an initializer list contains a lambda function with auto variables


https://sourceware.org/bugzilla/show_bug.cgi?id=18157

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |keiths at redhat dot com
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.8

--- Comment #1 from Keith Seitz <keiths at redhat dot com> ---
I've verified that this is another libiberty demangler crashing bug.  It is
also fixed in GDB 7.8+.

If you'd like a patch, look at commits 91662bad2, fd259167d, 9548bbede, and
53f94b92e (all in libiberty).

It might be possible to toss together something relatively easily by simply
grabbing a recent copy of libiberty/cp-demangle.[ch].

Otherwise, the easiest thing to do is simply upgrade to 7.8 or 7.9.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]