Skip to GDB version string on init
Needs ReviewPublic

Authored by Kvalme on Aug 23 2019, 6:04 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Skip to GDB version string when initializing debugger. This allows
to use ~/.gdbinit file.
This is especially important when "skip" commands used in .gdbinit.
Using such commands results in following answers from GDB:

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

So current implementation will read first string and say that only GDB 7.0.0 and later supported.

Diff Detail

Repository
R32 KDevelop
Branch
skip_to_gdb_version (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 15550
Build 15568: arc lint + arc unit
Kvalme created this revision.Aug 23 2019, 6:04 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptAug 23 2019, 6:04 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
Kvalme requested review of this revision.Aug 23 2019, 6:04 PM
Kvalme edited the summary of this revision. (Show Details)Aug 23 2019, 6:09 PM