This is an archive of the discontinued LLVM Phabricator instance.

[lldb/gdb-server] Better reporting of launch errors
ClosedPublic

Authored by labath on Sep 27 2022, 11:08 AM.

Details

Summary

Use our "rich error" facility to propagate error reported by the stub to
the user. lldb-server reports rich launch errors as of D133352.

To make this easier to implement, and reduce code duplication, I have
moved the vRun/A/qLaunchSuccess handling into a single
GDBRemoteCommunicationClient function.

Diff Detail

Event Timeline

labath created this revision.Sep 27 2022, 11:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 11:08 AM
labath requested review of this revision.Sep 27 2022, 11:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 11:08 AM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 6 2022, 8:19 AM
This revision was automatically updated to reflect the committed changes.