[lldb-dev] How to use --tty=<tty> with lldb-mi

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Tue Oct 2 16:59:37 PDT 2018

The way to do this in the MI interface is with the command: inferior-tty-set.  Unfortunately, that command isn't implemented in the lldb-mi:

bool CMICmdCmdInferiorTtySet::Execute() {
  // Do nothing

  return MIstatus::success;

This should set the target.{input/output/error}-path to the tty it was passed.


> On Oct 2, 2018, at 4:33 PM, Pierson Lee (PIE) via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> Hi,
> I'm using lldb-mi to debug on OS X and I'm trying to redirect the debuggee output to a tty, but it seems like it wants to use the lldb-launcher (Darwin-debug) add on and open a terminal instead.
> Is there a way to have the debuggee stdin/stdout redirection be sent to a tty of my specification?
> Thanks
> Pierson
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

More information about the lldb-dev mailing list