diff options
| author | Pavel Labath <pavel@labath.sk> | 2020-12-04 17:45:58 +0100 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2020-12-07 09:24:13 +0100 |
| commit | a2f4f7daf76c767efd668390bc7f8b99bdb1218c (patch) | |
| tree | c3b1a4ca3e851fd29ef4d8fd23d2c1596b44acb1 /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | 174b09e9153894903c13bd4f40c6dab07b2558ba (diff) | |
| download | llvm-a2f4f7daf76c767efd668390bc7f8b99bdb1218c.zip llvm-a2f4f7daf76c767efd668390bc7f8b99bdb1218c.tar.gz llvm-a2f4f7daf76c767efd668390bc7f8b99bdb1218c.tar.bz2 | |
[lldb/test] Refactor socket_packet_pump
Now that the class does not use a thread, the name is no longer
appropriate. Rename the class to "Server" and make it a long-lived
object (instead of recreating it for every expect_gdbremote_sequence
call). The idea is to make this class a wrapper for all communication
with debug/lldb-server. This will enable some additional cleanups as we
had some duplication between socket_pump non-pump code paths.
Also squeeze in some small improvements:
- use python-level timeouts on sockets instead of the manual select
calls
- use byte arrays instead of strings when working with raw packets
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
