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: [PATCH 0/7] GNU/Linux mount namespace support


Iago López Galeiras wrote:
> On 04/16/2015 02:19 PM, Gary Benson wrote:
> > This series allows GDB and gdbserver on GNU/Linux systems to
> > attach to processes in mount namespaces other than the debugger's
> > own when invoked with the appropriate permissions.  This allows an
> > application running in a container to be debugged by running GDB
> > or gdbserver on the host, or by running GDB or gdbserver from
> > within another container that shares the host's PID namespace.
> 
> Thanks a lot for the patches!
> 
> I've got a small feature request. If the process inside the mount
> namespace is running on a chroot I believe it won't work (I couldn't
> test it because the patches don't work for me[1]).

Well, let's not start implementing fixes for things that might not
even be broken.  I'll mail a v2 of this series that works with
multithreaded GDB, and then you can tell me if it didn't work :)

Cheers,
Gary

-- 
http://gbenson.net/


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