Re: RFR: 8172842 Invoke lldb with --batch from failure handler

2017-01-16 Thread Staffan Larsen
Thanks Erik! > On 16 Jan 2017, at 11:48, Erik Joelsson wrote: > > Looks good to me. > > /Erik > > > On 2017-01-16 09:24, Staffan Larsen wrote: >> When the failure handler invokes lldb to create a core it looks something >> like this: >> >> lldb -o 'attach %p' -o 'process save-core core.%p'

Re: RFR: 8172842 Invoke lldb with --batch from failure handler

2017-01-16 Thread Erik Joelsson
Looks good to me. /Erik On 2017-01-16 09:24, Staffan Larsen wrote: When the failure handler invokes lldb to create a core it looks something like this: lldb -o 'attach %p' -o 'process save-core core.%p' -o 'detach' -o 'quit' However if the attach command fails, the rest of the commands - in

Re: RFR: 8172842 Invoke lldb with --batch from failure handler

2017-01-16 Thread Staffan Larsen
Thanks Dmitry! > On 16 Jan 2017, at 09:43, Dmitry Samersoff > wrote: > > Staffan, > > Looks OK to me. > > -Dmitry > > > On 2017-01-16 11:24, Staffan Larsen wrote: >> When the failure handler invokes lldb to create a core it looks something >> like this: >> >> lldb -o 'attach %p' -o 'proc

Re: RFR: 8172842 Invoke lldb with --batch from failure handler

2017-01-16 Thread Dmitry Samersoff
Staffan, Looks OK to me. -Dmitry On 2017-01-16 11:24, Staffan Larsen wrote: > When the failure handler invokes lldb to create a core it looks something > like this: > > lldb -o 'attach %p' -o 'process save-core core.%p' -o 'detach' -o 'quit' > > However if the attach command fails, the res

RFR: 8172842 Invoke lldb with --batch from failure handler

2017-01-16 Thread Staffan Larsen
When the failure handler invokes lldb to create a core it looks something like this: lldb -o 'attach %p' -o 'process save-core core.%p' -o 'detach' -o 'quit' However if the attach command fails, the rest of the commands - including 'quit' - are not being run. This means the lldb process is hu