This is the mail archive of the
mailing list for the GDB project.
Re: [RFC] 10/10 non-stop for linux native
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 25 Jun 2008 16:05:32 -0400
- Subject: Re: [RFC] 10/10 non-stop for linux native
- References: <firstname.lastname@example.org> <email@example.com>
On Mon, May 19, 2008 at 04:21:08PM +0100, Pedro Alves wrote:
> One issue I would like comments on, is that
> -exec-continue / target_stop_ptid relies on an event happening
> on the inferior. Should we not rely on that, and just suspend
> the thread with SIGSTOP ? Would this affect frontends ?
About this: don't play with SIGSTOP. It has pretty complicated
effects, for instance stopping entire thread groups and cancelling
pending job control signals. While working on attach-to-stopped
support a few months ago Roland educated me in the gritty details.
SIGINT isn't great, but with ptrace it's our most plausible option.