Bug 251709 - Developer's Handbook: add a section on remote debugging via LLDB
Summary: Developer's Handbook: add a section on remote debugging via LLDB
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guangyuan Yang
Depends on:
Reported: 2020-12-09 16:53 UTC by Michał Górny
Modified: 2020-12-28 21:19 UTC (History)
2 users (show)

See Also:

0001-Add-a-section-on-remote-debugging-with-LLDB-12.0.patch (2.17 KB, patch)
2020-12-09 16:53 UTC, Michał Górny
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny 2020-12-09 16:53:15 UTC
Created attachment 220396 [details]

Here's a patch proposing a new section on remote debugging with LLDB.  This is probably to be merge *after* LLDB 12.0.0 (or equivalent) makes it into FreeBSD, llvm-project commit a8bfee2a356a2e70f854bf6d0b364798f4183795 would be the absolute minimal for reliable remote debugging IMHO.
Comment 1 Guangyuan Yang freebsd_committer freebsd_triage 2020-12-09 17:06:59 UTC
(In reply to Michał Górny from comment #0)

Thanks for the submission, it generally looks good. Do you mind posting it to https://reviews.freebsd.org/ and reference it here, so we could have more eyes on it?
Comment 2 Michał Górny 2020-12-09 17:25:43 UTC
Sure, here you are: https://reviews.freebsd.org/D27524
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-12-28 21:17:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=192a5729e55ebddd239731df215b973d39581a29

commit 192a5729e55ebddd239731df215b973d39581a29
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2020-12-28 16:26:55 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2020-12-28 21:15:57 +0000

    handbook: add a section on remote debugging via LLDB

    PR:             251709
    Obtained from:  Moritz Systems
    Submitted by:   MichaŠGórny <mgorny@moritz.systems>
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    bcr
    Discussed with: dim, emaste
    Differential Revision:  https://reviews.freebsd.org/D27524

 .../books/developers-handbook/tools/chapter.xml    | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)