Detailed description
- Not a new feature.
- The existing problem is broken debugging with gdb versions 10 through 12 since PR2010, see #2112.
- This PR solves it by expanding RSP halt-responses and thread info from
1top1.1form aka ppid.tid
Tested against single-core targets like AT32F403A and STM32F411 from BMDA/FT2232H and BMP/blackpill-f411ce. AT32IDE shipped with gdb-10 was affected, and in general some Eclipse CDT-based IDE with old release toolchains for arm-none-eabi.
Untested against multi-core targets like RP2.
Please test this on different gdb versions, probably lldb, and multi-hart (e.g. Cortex-A MPCore), as I don't have well-founded confirmation for a fix like this and why p1.1 is better than 1.
Your checklist for this pull request
- I've read the Code of Conduct
- I've read the guidelines for contributing to this repository
- It builds for hardware native (see Building the firmware)
- It builds as BMDA (see Building the BMDA)
- I've tested it to the best of my ability
- My commit messages provide a useful short description of what the commits do
Closing issues
Fixes #2112.