This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb across PID namespaces
- From: Tom Tromey <tromey at redhat dot com>
- To: Abhishek Rai <abhishekrai at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 28 Jun 2013 14:31:25 -0600
- Subject: Re: gdb across PID namespaces
- References: <CA+sC4q4KYuaw6R7SurvQ0zNqvrtO6hzP1eUArGwn-PAHPYRc5A at mail dot gmail dot com>
>>>>> "Abhishek" == Abhishek Rai <abhishekrai@gmail.com> 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