Merge LLDB plugin into master

Authored by qi437103 on Jul 29 2016, 1:14 PM.

Description

Merge LLDB plugin into master

Summary:
LLDB plugin is now working for basic debugging use cases.

Things that work:

  • Basic execution control: start, continue, step etc.
  • Break points
  • Frame stack list
  • Symbol info when hover
  • Variables & Expressions (still have caveats)
  • Multi-threaded debugee (must use LLDB trunk version)
  • Debugger console
  • Remote debugging (only tested on localhost)

Things not working yet:

  • Disassembly/Register view
  • Memory view
  • Pending break points and anything requires pending break points
  • Watch points
  • Attach to process (works internally, no UI to access it)

Not tested:

  • Examine core file
  • Drkonqi support

There's a debugers/lldb/TODO.txt which contains more detailed description of current limitations and link to related LLDB bug reports.

Note: the whole thing might crash from time to time without this bug fixed. I'm using LLDB built myself with the code fixed. The patch can be found in the bug report.

Test Plan:

  • GDB unit tests (such that I didn't break anything)
  • LLDB unit tests (some of them are skipped due to limitations mentioned above)
  • Manually tested

Reviewers: apol, KDevelop

Reviewed By: apol, KDevelop

Subscribers: kdevelop-devel

Differential Revision: https://phabricator.kde.org/D2293

Details

Committed
qi437103Aug 1 2016, 6:01 AM
Reviewer
KDevelop
Differential Revision
D2293: Merge LLDB plugin into master
Parents
R32:44b8acc1bfd2: i18n: translate messages from kdevdebuggercommon
Branches
Unknown
Tags
Unknown