Subject: Re: [lldb-dev] SBTarget::AttachToProcessWithID hangs
Yep, that'll do it!
Are you up and running now?
> On Sep 17, 2015, at 11:05 AM, Philippe Lavoie
> wrote:
>
>
> Ah! The issue was in my custom Platform's Attach. It is based on PlatformGDB,
> but it seems I bu
rivateState (stopped)
>> 1442509021.62800 Process::SetPrivateState (stopped) stop_id = 1
>>
>> ____________
>> From: Greg Clayton [gclay...@apple.com]
>> Sent: Thursday, September 17, 2015 12:55 PM
>> To: Philippe Lavoie
>>
pple.com]
Sent: Thursday, September 17, 2015 1:12 PM
To: Philippe Lavoie
Cc: Jim Ingham; lldb-dev@lists.llvm.org
Subject: Re: [lldb-dev] SBTarget::AttachToProcessWithID hangs
This sounds like you don't have a private state thread running. The private
state thread watches for private state chang
le.com]
> Sent: Thursday, September 17, 2015 12:55 PM
> To: Philippe Lavoie
> Cc: Jim Ingham; lldb-dev@lists.llvm.org
> Subject: Re: [lldb-dev] SBTarget::AttachToProcessWithID hangs
>
> Here is the output of attaching to a process with ProcessGDBRemote:
>
> (lldb) log en
) stop_id = 1
From: Greg Clayton [gclay...@apple.com]
Sent: Thursday, September 17, 2015 12:55 PM
To: Philippe Lavoie
Cc: Jim Ingham; lldb-dev@lists.llvm.org
Subject: Re: [lldb-dev] SBTarget::AttachToProcessWithID hangs
Here is the output of attaching to a
gt;
> From: jing...@apple.com [jing...@apple.com]
> Sent: Wednesday, September 16, 2015 3:34 PM
> To: Philippe Lavoie
> Cc: lldb-dev@lists.llvm.org
> Subject: Re: [lldb-dev] SBTarget::AttachToProcessWithID hangs
>
> Did you try waiting for an ev
: [lldb-dev] SBTarget::AttachToProcessWithID hangs
Did you try waiting for an event on the listener you've passed to
AttachToProcess? The last event after everything is done should be the
notification to the public listener (i.e. your test_listener) that the process
you attached to has st
) hijack =
-Philippe
From: Greg Clayton [gclay...@apple.com]
Sent: Wednesday, September 16, 2015 3:36 PM
To: Philippe Lavoie
Cc: lldb-dev@lists.llvm.org
Subject: Re: [lldb-dev] SBTarget::AttachToProcessWithID hangs
A few questions:
Which process plug-in does
A few questions:
Which process plug-in does your debugging target use?
Is it a GDB Remote based debug session?
If so is it using lldb-server?
a custom GDB server?
In general, we expect to receive a eStateStopped process event if the attach is
successful and this is what we are waiting f
Did you try waiting for an event on the listener you've passed to
AttachToProcess? The last event after everything is done should be the
notification to the public listener (i.e. your test_listener) that the process
you attached to has stopped, and nobody is fetching that.
Jim
> On Sep 16, 20
I am trying to attach to a stopped process on our dsp target using the SBTarget
interface but the call hangs.
What I understand is that it is waiting for events on the "lldb.process"
broadcaster using the "lldb.Target.Attach.attach.hijack" listener.
Enabling the logs, I see that the process is
11 matches
Mail list logo