[RFC] multi-process gdb (forks, checkpoints)
Michael Snyder
msnyder@redhat.com
Wed Nov 30 11:39:00 GMT 2005
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.
More information about the Gdb-patches
mailing list