From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30428 invoked by alias); 25 Jun 2008 20:06:00 -0000 Received: (qmail 30415 invoked by uid 22791); 25 Jun 2008 20:06:00 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 25 Jun 2008 20:05:35 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B9B1898412; Wed, 25 Jun 2008 20:05:33 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 922EA9835A; Wed, 25 Jun 2008 20:05:33 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KBbFE-0008Ep-RS; Wed, 25 Jun 2008 16:05:32 -0400 Date: Wed, 25 Jun 2008 20:25:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [RFC] 10/10 non-stop for linux native Message-ID: <20080625200532.GG25575@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <200805061650.10912.pedro@codesourcery.com> <200805191621.08320.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805191621.08320.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00453.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery