[Lldb-commits] [PATCH] D46588: [LLDB][lldb-mi] Add possibility to set breakpoints without selecting a target.

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 17 10:25:38 PDT 2018

aprantl added a comment.

Okay, that sounds promising! Then let's proceed this way:

- Add a new command line option to lldb-mi that is called `--synchronous` with a help text "Block until each command has finished executing. Used for testing only." and use it in this test
- continue writing as many lldb-mi tests as possible (everything where the commands don't depend on replies) using the lit/FileCheck approach
- gradually convert existing pexpect tests over to lit/FileCheck
- convert the the remaining tests to use synchronous mode, which might improve the reliability a tiny bit. We will still run into situations where on very loaded systems the pexpect timeout is triggered before a reply comes back from lldb-mi, but it will be less likely.



More information about the lldb-commits mailing list