* gdbserver and following children
@ 2012-06-22 8:37 Vladimir Prus
2012-06-22 9:38 ` Pedro Alves
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Prus @ 2012-06-22 8:37 UTC (permalink / raw)
To: gdb
Hi,
I cannot quite figure from the documentation whether it is possible, in multi-process mode with gdbserver, to
automatically attach to all children?
I see that http://sourceware.org/gdb/wiki/MultiProcess mentions this functionality is living on a branch and not
yet ready, but than the page also talks about 7.2. Of course, I can try with CVS HEAD, but it would be hard to
separate missing functionality in GDB from missing functionality in my head.
Thanks,
--
Vladimir Prus
CodeSourcery / Mentor Graphics
http://www.mentor.com/embedded-software/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdbserver and following children
2012-06-22 8:37 gdbserver and following children Vladimir Prus
@ 2012-06-22 9:38 ` Pedro Alves
2012-06-22 9:49 ` Vladimir Prus
0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2012-06-22 9:38 UTC (permalink / raw)
To: Vladimir Prus; +Cc: gdb
Hi Vladimir,
On 06/22/2012 09:36 AM, Vladimir Prus wrote:
> I cannot quite figure from the documentation whether it is possible, in multi-process mode with gdbserver, to
> automatically attach to all children?
It's not possible.
>
> I see that http://sourceware.org/gdb/wiki/MultiProcess mentions this functionality is living on a branch and not
> yet ready, but than the page also talks about 7.2. Of course, I can try with CVS HEAD, but it would be hard to
> separate missing functionality in GDB from missing functionality in my head.
Here you'll find a more in depth comparison of gdbserver vs native gdb supported features:
http://sourceware.org/gdb/wiki/LocalRemoteFeatureParity
--
Pedro Alves
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdbserver and following children
2012-06-22 9:38 ` Pedro Alves
@ 2012-06-22 9:49 ` Vladimir Prus
0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Prus @ 2012-06-22 9:49 UTC (permalink / raw)
To: Pedro Alves; +Cc: gdb
On 22.06.2012 13:38, Pedro Alves wrote:
> Hi Vladimir,
>
> On 06/22/2012 09:36 AM, Vladimir Prus wrote:
>
>> I cannot quite figure from the documentation whether it is possible, in multi-process mode with gdbserver, to
>> automatically attach to all children?
>
>
> It's not possible.
>
>>
>> I see that http://sourceware.org/gdb/wiki/MultiProcess mentions this functionality is living on a branch and not
>> yet ready, but than the page also talks about 7.2. Of course, I can try with CVS HEAD, but it would be hard to
>> separate missing functionality in GDB from missing functionality in my head.
>
>
> Here you'll find a more in depth comparison of gdbserver vs native gdb supported features:
>
> http://sourceware.org/gdb/wiki/LocalRemoteFeatureParity
Hi Pedro,
thanks for the link -- it's much more helpful. How hard would it be to implement that 'follow-fork' on gdbserver?
Days, weeks, months?
- Volodya
--
Vladimir Prus
CodeSourcery / Mentor Graphics
http://www.mentor.com/embedded-software/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-22 9:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 8:37 gdbserver and following children Vladimir Prus
2012-06-22 9:38 ` Pedro Alves
2012-06-22 9:49 ` Vladimir Prus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).