This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [lldb-server] Catch and report errors from main loop
ClosedPublic

Authored by mgorny on Feb 14 2019, 3:42 AM.

Details

Summary

Catch the possible error from lldb-gdbserver's main loop, and report
it verbosely. Currently, if the loop fails the server exits normally,
rendering the problem indistinguishable from regular termination.

Diff Detail

Event Timeline

mgorny created this revision.Feb 14 2019, 3:42 AM
labath accepted this revision.Feb 14 2019, 5:26 AM
This revision is now accepted and ready to land.Feb 14 2019, 5:26 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2019, 5:52 AM