From: Pedro Alves <palves@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA/gdbserver/LynxOS]: Incomplete thread list after --attach
Date: Tue, 01 Oct 2013 11:33:00 -0000 [thread overview]
Message-ID: <524AB315.7030400@redhat.com> (raw)
In-Reply-To: <20131001105235.GE2840@adacore.com>
On 10/01/2013 11:52 AM, Joel Brobecker wrote:
>> Well, how are you sure they're unpublished, if you don't know
>> at least approximately which interfaces it's using? (reading /proc,
>> using ptrace+peeking at program memory, etc.) ;-) I've really no
>> clue on the ABI garantees copying newer/older "ps" to an older/newer
>> system would have, but I'd expect it to have some.
>
> That's true. In the end, I wasn't able to get that piece of information,
> as I could not find a tool on LynxOS that can trace system calls.
> There is no /proc, and I couldn't find anything in /dev that seems
> related to that sort of thing.
We could always ask the LynxOS folks (lynuxworks.com it seems), if we wanted
to bother, I guess. Oh well, I personally don't care that much.
>>> +/* Assuming we've just attached to a running inferior whose pid is PID,
>>> + add all threads runnnig in that process. */
>>
>> "running".
>
> Thanks. I will fix that before checking in.
Thanks.
--
Pedro Alves
prev parent reply other threads:[~2013-10-01 11:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-01 9:50 Joel Brobecker
2013-10-01 9:57 ` Pedro Alves
2013-10-01 10:02 ` Joel Brobecker
2013-10-01 10:16 ` Pedro Alves
2013-10-01 10:52 ` Joel Brobecker
2013-10-01 11:33 ` Pedro Alves [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=524AB315.7030400@redhat.com \
--to=palves@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox