[Lldb-commits] [PATCH] D110878: [lldb] Add a gdb_remote_client test for connecting to pty [WIP]

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 30 13:38:09 PDT 2021


mgorny added a comment.

@labath, this is the part where I ask for help ;-).

  An exception happened when receiving the response from the gdb server. Closing the client...
  Traceback (most recent call last):
    File "/home/mgorny/git/llvm-project/lldb/test/API/functionalities/gdb_remote_client/gdbclientutils.py", line 405, in _run
      data = seven.bitcast_to_string(self._client.recv(4096))
    File "/home/mgorny/git/llvm-project/lldb/test/API/functionalities/gdb_remote_client/gdbclientutils.py", line 538, in recv
      return self.read(size)
  OSError: [Errno 5] Input/output error
  PASS: LLDB (/home/mgorny/git/llvm-project/build/bin/clang-x86_64) :: test_process_connect_sync_dwarf (TestPty.TestPty)

I think it's getting in the 'controlling terminal' magic and getting EIO when lldb finishes or sth like that. Any suggestion how to avoid this exception?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110878/new/

https://reviews.llvm.org/D110878



More information about the lldb-commits mailing list