[RFA/gdbserver/LynxOS]: Incomplete thread list after --attach
Pedro Alves
palves@redhat.com
Tue Oct 1 11:33:00 GMT 2013
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
More information about the Gdb-patches
mailing list