Re: gdb across PID namespaces

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> "Abhishek" == Abhishek Rai <[email protected]> writes:

Abhishek> I am using gdb to debug a process running in a different PID namespace
Abhishek> than gdb.  I am seeing that gdb cannot see child threads created
Abhishek> within the debugged process.  PID namespaces are described here:
Abhishek> http://lwn.net/Articles/532748/.  Here are the steps to reproduce the
Abhishek> problem:
[...]

Could you please file this in gdb bugzilla?

Abhishek> I'm wondering if this is a limitation of how gdb picks thread
Abhishek> PIDs from ptrace.

It seems like it could be a kernel bug or a libthread_db bug as well.
I think you'd have to debug gdb to find out.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.