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.devel Subject: Re: [PATCH v2] Improved ^c support for gdb/guile Date: Wed, 19 Feb 2014 00:08:27 +0100 Message-ID: <87bny4589g.fsf@gnu.org> References: <834n3x8o7m.fsf@gnu.org> <83y519788a.fsf@gnu.org> <871tz0d5vc.fsf@gnu.org> <83iosc76kz.fsf@gnu.org> <87txbw9xp4.fsf@gnu.org> <83a9do741d.fsf@gnu.org> <87ha7w71ri.fsf@gnu.org> <8338jg715m.fsf@gnu.org> 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 1392764907 14631 80.91.229.3 (18 Feb 2014 23:08:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 23:08:27 +0000 (UTC) Cc: xdje42@gmail.com, gdb-patches@sourceware.org, guile-devel@gnu.org To: Eli Zaretskii Original-X-From: gdb-patches-return-110481-gdb-gdb-patches=m.gmane.org@sourceware.org Wed Feb 19 00:08:36 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 1WFtmF-0005WQ-JN for gdb-gdb-patches@plane.gmane.org; Wed, 19 Feb 2014 00:08:35 +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=V7DGPP7lEAvWA7WSbip5lFM9ng2slr6K6F7EiI0q165 Xtgk2P/W+zGvZXVRPyw6Qu7DfJLZGCSeCTXDcqY0n0oeCATlIaGmzWBKfG7zvOFz avGGWgT6NZ7tgRrhk00DDj8HQEMNFL8Uw8jZYk2z7AxV2A/NYAH+hIY0naQ9wjrQ = 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=lUXkiG9d5lK8sDcK3XiOFC6ys0I=; b=n26T+e3EmvucXfr5G zU/0fEuzHaad1y8PJkVdjMbtQlJUJfLDVYgRKsbv0NsjSKAv45OyN3oeOMhlQ2e7 QY5Gi6bTe8XgUurB5ykr6H16w4VzN5uDsQ6Z9Qmo0qMmpyO1EsAF3fnsMv+6D8nX vL9h7bP/DWy78pbjPqOAMq+d/Q= Original-Received: (qmail 29423 invoked by alias); 18 Feb 2014 23:08:32 -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 29412 invoked by uid 89); 18 Feb 2014 23:08:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 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; Tue, 18 Feb 2014 23:08:31 +0000 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1BEBD1D0F; Wed, 19 Feb 2014 00:08:29 +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 WbE0p9decc8a; Wed, 19 Feb 2014 00:08:29 +0100 (CET) Original-Received: from pluto (LDijon-156-64-49-137.w217-128.abo.wanadoo.fr [217.128.51.137]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7E18B1D04; Wed, 19 Feb 2014 00:08:28 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?utf-8?Q?Vent=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: <8338jg715m.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Feb 2014 19:59:01 +0200") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) Xref: news.gmane.org gmane.comp.gdb.patches:95483 gmane.lisp.guile.devel:16892 Archived-At: Eli Zaretskii skribis: >> From: ludo@gnu.org (Ludovic Court=C3=A8s) >> Cc: xdje42@gmail.com, gdb-patches@sourceware.org, guile-devel@gnu.org >> Date: Tue, 18 Feb 2014 18:45:53 +0100 >>=20 >> > Sorry, I meant why that code couldn't be used when Guile was built >> > without pthreads. >>=20 >> Because with the patch Doug posted, both the SIGINT thread and GDB=E2=80= =99s >> main thread would call libguile. >>=20 >> A different strategy would need to be used when Guile lacks pthread >> support. > > Could you perhaps suggest such a different strategy? Something similar to Guile=E2=80=99s own strategy when compiled without pth= read support. However, Doug is proposing on guile-devel an approach that may solve that more elegantly. Thanks, Ludo=E2=80=99.