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

2018-10-02 Thread Pierson Lee (PIE) via lldb-dev
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 specificati

[lldb-dev] Closing TTY window while in a break state using LLDB-MI does not stop debugging

2016-07-19 Thread Pierson Lee (PIE) via lldb-dev
Hi, Running into a problem where closing the TTY window on OS X while on a breakpoint using LLDB-MI does not allow the SIGHUP to be passed through to the debuggee. I had to add the following call to get the debuggee to terminate when closing the window if LLDB-MI was not in a break state. proc

Re: [lldb-dev] Question about -break-insert in lldb-mi

2016-07-12 Thread Pierson Lee (PIE) via lldb-dev
omm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -Original Message- From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Pierson Lee (PIE) via lldb-dev Sent: Monday, July 11, 2016 1:33 PM T

Re: [lldb-dev] Question about -break-insert in lldb-mi

2016-07-11 Thread Pierson Lee (PIE) via lldb-dev
main -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -Original Message- From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Pierson Lee (PIE) via lldb-dev Sent: Monday, J

Re: [lldb-dev] Question about -break-insert in lldb-mi

2016-07-11 Thread Pierson Lee (PIE) via lldb-dev
flag. But also lldb-mi should probably just ignore this flag. Jim > On Jul 8, 2016, at 5:58 PM, Pierson Lee (PIE) via lldb-dev > wrote: > > Hi, > > I’m trying to use -break-insert and the -f flag for it. > > I noticed in MICmdCmdBreak.cpp , in CmICmdCmdBre

[lldb-dev] Question about -break-insert in lldb-mi

2016-07-08 Thread Pierson Lee (PIE) via lldb-dev
Hi, I'm trying to use -break-insert and the -f flag for it. I noticed in MICmdCmdBreak.cpp , in CmICmdCmdBreakInsert::ParseArgs() that the -f has a required parameter. m_setCmdArgs.Add(new CMICmdArgValOptionShort(m_constStrArgNamedPendinfBrkPt, false, true,

[lldb-dev] lldb 3.8 on OSX unable to debug process

2016-06-22 Thread Pierson Lee (PIE) via lldb-dev
Hi I'm building LLDB v3.8 on my osx mac using Unix Makefiles and when I go and test it with the built debugserver, I get the following errors when passing "run": error: process exited with status -1 (unable to attach) I verified that attaching to a process also doesn't work. Is there a known

Re: [lldb-dev] Error when using lldb-mi built with LLDB_DISABLE_PYTHON

2016-06-21 Thread Pierson Lee (PIE) via lldb-dev
r251082. Please fill a bug report on llvm.org/bugs<https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fllvm.org%2fbugs&data=01%7c01%7cPierson.Lee%40microsoft.com%7c49f011e335c8436a02fc08d398e739a5%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=8EJ1X0DsyxwIj%2fqcqpJCk2sC0s9k

[lldb-dev] Error when using lldb-mi built with LLDB_DISABLE_PYTHON

2016-06-17 Thread Pierson Lee (PIE) via lldb-dev
Hi, I've built lldb on tag release_38 (3.8.1) with the flag LLDB_DISABLE_PYTHON=1 and I'm getting the below error when running lldb-mi: MI: Error: Driver. LLDB Debugger. MI: Error: Driver Manager. Driver 'Machine Interface Driver Version: 1.0.0.9' (ID:'MIDriver') initialise failed. Driver. LLDB