Skip to content

Skip to GDB version string on init

Skip to GDB version string when initializing debugger. This allows to use ~/.gdbinit file.

Initial problem comes from the fact that if ~/.gdbinit contains following string: skip -gfi /usr/include/c++/* current gdb integration returns error. It expects first gdb output to be something with gdb version but in case of this string it will be:

File(s) /usr/include/c++/* will be skipped when stepping.
GNU gdb (Ubuntu 8.2.91.20190405-0ubuntu3) 8.2.91.20190405-git

This is revival of 3 year old PR from phabricator. Differential Revision: https://phabricator.kde.org/D23383

Merge request reports