aprantl added a comment. It looks like it would be easy to forget to add -gdb-exit to every test. Wouldn't it be better to have the lldb-mi automatically produce a -gdb-exit command when it reads EOF from stdin? Repository: rLLDB LLDB https://reviews.llvm.org/D52139