From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.comp.gdb.patches,gmane.lisp.guile.user Subject: Re: [PATCH v2 02/13] script language API for GDB: extension.[ch] Date: Wed, 15 Jan 2014 15:52:13 +0100 Message-ID: <87zjmxuwki.fsf@gnu.org> References: <52a7f3e8.e7ed440a.1c58.020f@mx.google.com> <87vbyffcwu.fsf@fleche.redhat.com> <87txdklqk4.fsf@gnu.org> <87r48kkc9g.fsf@fleche.redhat.com> <87eh4krl81.fsf@gnu.org> <87iotvixu4.fsf@fleche.redhat.com> <87vbxv8kag.fsf@gnu.org> <87sisqv0dm.fsf@fleche.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389797539 31306 80.91.229.3 (15 Jan 2014 14:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2014 14:52:19 +0000 (UTC) Cc: gdb-patches@sourceware.org, guile-user@gnu.org To: Tom Tromey Original-X-From: gdb-patches-return-109302-gdb-gdb-patches=m.gmane.org@sourceware.org Wed Jan 15 15:52:26 2014 Return-path: Envelope-to: gdb-gdb-patches@plane.gmane.org Original-Received: from server1.sourceware.org ([209.132.180.131] helo=sourceware.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W3RpQ-0003iR-48 for gdb-gdb-patches@plane.gmane.org; Wed, 15 Jan 2014 15:52:24 +0100 DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=gL8BGxwz3ge0/f3bPerj9gccQdYFCQAGiun3+EwFuQw lgFpo9JwXtPMcFc3ZSq+6OuWdwJAPFK/yad8fgEsY8cHwY8GbVk+yIdCJ2bvoskm CpTPeSG16ugZn10hcTko2CXIYeleSpmvw333j5peMjvqkFMOx31kDGdEv5dQLqEA = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=dHIPMP/Du101DHQbHU1oqSQYg68=; b=E40DhsaDhe5KXtQSW AUls/jndx0PRkUUou+w/Hh/qCbgdAZrHXwMTi65HGNgIBKP10JY3mgVeUsdG02fC JSPKWG+r7WXNfI+IvAKl+jgHbWX4pkltcpa7XZrynzxqeSq2rykxUrzkYNurUfSt XR4o2/ZGEMIoc1F4ha4/gotllk= Original-Received: (qmail 11612 invoked by alias); 15 Jan 2014 14:52:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: gdb-patches-owner@sourceware.org Original-Received: (qmail 11597 invoked by uid 89); 15 Jan 2014 14:52:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: hera.aquilenet.fr Original-Received: from hera.aquilenet.fr (HELO hera.aquilenet.fr) (141.255.128.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Jan 2014 14:52:17 +0000 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 022BA1B5D; Wed, 15 Jan 2014 15:52:14 +0100 (CET) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zXxb4r4Ygc1h; Wed, 15 Jan 2014 15:52:13 +0100 (CET) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 930861B27; Wed, 15 Jan 2014 15:52:13 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?utf-8?Q?Niv=C3=B4se?= an 222 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87sisqv0dm.fsf@fleche.redhat.com> (Tom Tromey's message of "Tue, 14 Jan 2014 12:17:41 -0700") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) Xref: news.gmane.org gmane.comp.gdb.patches:94304 gmane.lisp.guile.user:10998 Archived-At: Tom Tromey skribis: >>>>>> "Ludovic" =3D=3D Ludovic Court=C3=A8s writes: > > Ludovic> I guess this is another limitation of Guile=E2=80=99s current si= gnal handling > Ludovic> strategy, and something we should fix. > > FWIW I think it would be sufficient for gdb if scm_system_async_mark, or > something like it, could be invoked from a signal handler. Then a > SIGINT in gdb could install an async callback that later checks gdb's > quit flag. Right. Unfortunately that seems hard to fix in the 2.0 series, but 2.2 is not too far away either. Thanks, Ludo=E2=80=99.