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.
Jim
> On Oct 2, 2018, at 4:33 PM, Pierson Lee (PIE) via lldb-dev
> <[email protected]> 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
> [email protected]
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev