[Lldb-commits] [PATCH] D35311: lldb-server tests: Add support for testing debugserver
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 12 09:46:39 PDT 2017
labath created this revision.
Herald added subscribers: mgorny, srhines.
This adds support for running the lldb-server test suite (currently consisting
of only one test) against the debugserver. Currently, the choice which binary
to test is based on the host system. This will need to be replaced by something
more elaborate if/when lldb-server starts supporting debugging on darwin.
I need to make a couple of tweaks to the test client to work with debugserver:
- debugserver has different command-line arguments - launching code adjusted to handle that
- debugserver sends duplicate "medata" fields in the stop reply packet - adjusted stop-reply parsing code to handle that
- debugserver replies to the k packet instead of just dropping the connection - stopping code adjusted, although we should probably consider aligning the behavior of the two stubs in this case
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9017 bytes
Desc: not available
More information about the lldb-commits