Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CDT 10.6.1

Jonah Graham wrote:

> - There is a bug in GDB 10 & GDB 11 that can cause GDB to quit unexpectedly and randomly
>     - See the [GDB bug 28711](https://sourceware.org/bugzilla/show_bug.cgi?id=28711)
>     - This may be able to be worked around in CDT by changing `org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl.NUMBER_CONCURRENT_COMMANDS` to 1 to prevent there being multiple concurrent commands waiting in GDB input buffer.
> 
> Following the call we realized that the problem affects all GDB versions from GDB 9 through 11 and this causes a bad user experience. GDB 12 will be fixed, but that isn't available yet, and we don't know if the GDB community will back port the fix (I don't expect them to).
> 
> Torbjörn has now done most of the work required to release a CDT 10.6.1 with a workaround fix for this[2] and we think it would be best to have a release that contains the workaround. Therefore I have provisionally scheduled 10.6.1 for Tuesday April 26[3]. A few other fixes will be included in that patch release too.
> 
> Please share your thoughts.

At Indel, we happened on the same problem with GDB 11, but because we build our own GDB anyway, we just cherry-picked the fix (https://gitlab.indel.ch/thirdparty/gdb/-/commit/4e5794c9907878a7c4948d291c5a4a9c8162d6c8, and then backed out again for Windows because it apparently neither works nor is needed there, https://gitlab.indel.ch/thirdparty/gdb/-/commit/98d4ba30f7afda5fd35a4adec8ca1d15841d1878). Also, we’re not on CDT 10.6 yet, with no concrete plans on when to update next. So any decision is fine with us.

 -Christian



Back to the top