[PATCH 9/9] C++ compile support

Keith Seitz keiths@redhat.com
Thu Apr 1 19:36:22 GMT 2021


On 4/1/21 11:03 AM, Tom Tromey wrote:
>>> +    {
>>> +      const char *what = TYPE_DECLARED_CLASS (type) ? "struct" : "class";
> 
> Simon> I don't know if this matters, but the condition above looks reversed,
> Simon> can you confirm?
> 
> FWIW, last time I tried, at least one of the c++ compile tests causes a
> gcc crash, then lots of timeouts.  Are these working for anyone?

Sadly there's a lot of bitrot "here."

The last time I took a good look at this ($long time ago), there was a bug
that was preventing much of this from working, but it was entirely
on GDB's side (https://sourceware.org/bugzilla/show_bug.cgi?id=23749 *).

Keith

* I have not recently assessed if this is still a problem.



More information about the Gdb-patches mailing list