This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/gdbserver/LynxOS]: Incomplete thread list after --attach


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]