This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Asynchronous GDB
- To: James Cownie <jcownie at etnus dot com>
- Subject: Re: Asynchronous GDB
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 30 Jan 2001 12:16:36 -0800
- Cc: gdb at sourceware dot cygnus dot com, Jamie Guinan <guinan at bluebutton dot com>
- References: <14EU7B-0mE-00@etnus.com>
> In other words the only thing you can do via ptrace to an unstopped
> process is kill it.
Unless the target has several processes and one is dedicated to
debugging that will always be the case. Some code somewhere will need
to stop the system just long enough to capture the required information
and then resume it.
The main thing is that it is pushed down towards the target and away
from the debug core.
In terms of async debugging, its been demoed working with single
threaded remote target but not much else. There are still some fairly
fundamental design problems in the way :-(
Andrew