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

2016-07-12 Thread Pierson Lee (PIE) via lldb-dev
nux Foundation Collaborative Project -Original Message- From: Pierson Lee (PIE) [mailto:pierson@microsoft.com] Sent: Monday, July 11, 2016 3:59 PM To: Ted Woodward ; jing...@apple.com; 'LLDB' Subject: RE: [lldb-dev] Question about -break-insert in lldb-mi So the instance I

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

2016-07-12 Thread Ted Woodward via lldb-dev
ora Forum, a Linux Foundation Collaborative Project -Original Message- From: Pierson Lee (PIE) [mailto:pierson@microsoft.com] Sent: Monday, July 11, 2016 3:59 PM To: Ted Woodward ; jing...@apple.com; 'LLDB' Subject: RE: [lldb-dev] Question about -break-insert in lldb-mi

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

2016-07-11 Thread Jim Ingham via lldb-dev
g does on > -break-insert ? > > Thanks > Pierson > > -Original Message- > From: Ted Woodward [mailto:ted.woodw...@codeaurora.org] > Sent: Monday, July 11, 2016 1:13 PM > To: Pierson Lee (PIE) ; jing...@apple.com; 'LLDB' > > Subject: RE: [lldb-dev

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

2016-07-11 Thread Pierson Lee (PIE) via lldb-dev
ora.org] Sent: Monday, July 11, 2016 1:13 PM To: Pierson Lee (PIE) ; jing...@apple.com; 'LLDB' Subject: RE: [lldb-dev] Question about -break-insert in lldb-mi This is what Eclipse does when setting a breakpoint at main on a Hexagon target, before -exec-run: TX:21-break-insert -t -f

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

2016-07-11 Thread Ted Woodward via lldb-dev
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 To: jing...@apple.com Cc: lldb-dev@lists.llvm.org Subject: Re: [lldb-dev] Question about -break-insert in lldb-mi If I don't specify the -f flag

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

2016-07-11 Thread Pierson Lee (PIE) via lldb-dev
rg Subject: Re: [lldb-dev] Question about -break-insert in lldb-mi gdb used to try to find a symbol matching the breakpoint specification and if it didn't find one immediately, it would raise an error. If you didn't want this behavior (in a world with many shared libraries you seldom

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

2016-07-08 Thread Jim Ingham via lldb-dev
gdb used to try to find a symbol matching the breakpoint specification and if it didn't find one immediately, it would raise an error. If you didn't want this behavior (in a world with many shared libraries you seldom did) then you could set a "future-break" which is what the -f flag turns on.

[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,