This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: multi-process remote protocol extensions
- From: Michael Snyder <msnyder at specifix dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 29 May 2008 10:58:05 -0700
- Subject: Re: multi-process remote protocol extensions
- References: <200805272233.24078.pedro@codesourcery.com>
Hi Pedro,
I'd like to throw out some thoughts *before* I read your
somewhat long but apparently well-thought-out proposal.
I'll be brief.
Forgive me if what I toss out has already been covered.
Have you considered the cross-over between the general
case of debugging multiple processes, and the more restricted
case of debugging forks of the same process? With forks,
(and excluding exec for the moment), you actually have
several processes with separate address spaces but one
common symbol table.
I'm thinking that the support for fork debugging that we
already have might serve as a stepping-off point for what
you propose.
Maybe an incremental step would be to extend the fork
debugging functionality into the remote protocol and
get it to work with gdbserver?
I'll just go off and actually read what you wrote now...
;-)
Michael