This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] multi-process gdb (forks, checkpoints)
- From: Michael Snyder <msnyder at redhat dot com>
- To: Jim Blandy <jimb at red-bean dot com>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>, gdb at sources dot redhat dot com, drow at false dot org, Eli Zaretskii <eliz at gnu dot org>
- Date: Tue, 29 Nov 2005 17:58:43 -0800
- Subject: Re: [RFC] multi-process gdb (forks, checkpoints)
- References: <438B8B6F.6010706@redhat.com> <8f2776cb0511291738o61780660n68b59380d2747540@mail.gmail.com>
Jim Blandy wrote:
What happens if we fork, and then one of the forks unloads or loads a
shared library?
We're really crippled by our symtab data structures.
Hmmm... unload would be the bigger problem, I suppose.
I'd look at it this way -- this is really a subset of "debugging
separate processes". The subset is, processes that share the same
symbol set. What you suggest is crowding that boundary. ;-)
We know that the set of programs that can be debugged this way
is prescribed. Can't do multi-threaded programs, for instance.