From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115306 invoked by alias); 6 Apr 2016 15:13:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 115293 invoked by uid 89); 6 Apr 2016 15:13:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:847 X-HELO: mail-yw0-f181.google.com Received: from mail-yw0-f181.google.com (HELO mail-yw0-f181.google.com) (209.85.161.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 06 Apr 2016 15:13:22 +0000 Received: by mail-yw0-f181.google.com with SMTP id t10so60452743ywa.0 for ; Wed, 06 Apr 2016 08:13:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=CGOs4ul6yonLuSEsINeVly3b0cwSTKpvexi1mXoGNDQ=; b=bQO3+RaKjNvgSfLrWhnkxcp2g0YfwQk/BXbFRHgIyVfwOkMwTCNxBKXv4PjCOtrhx6 FpAEAIBdugaUNUTCCiqYtRqa4BCZK31J/YtN900J1pNH6UPgO0hQ9ob7ItH1f26IKafB R03ciIXePee9tRWtfoQG8EGtPZqLYfqhySFvK24Oga8T11HXfjzo5706ej3StocXT93s KvTRUGELPvA0RjhSHfeYTqpn8nihtnfmSsL92CzdH4PER6sC968Sv0CnxKhp4XA1uBjD rA3D55QzncghzHu3mifmEj3Nj7Ysu6zNKdKueIzR73cqWvawEWo5PdF5b0sQeHqU5BuS wjnQ== X-Gm-Message-State: AD7BkJK45e08JyFGrGOuqd5fa8Zhz9Lm5Mq2Je4uy/rybP5vLxFVlJWZlUxbPyJcAop95Nif9gzPCLvFdAp8lu/Z MIME-Version: 1.0 X-Received: by 10.129.52.20 with SMTP id b20mr12501223ywa.8.1459955600039; Wed, 06 Apr 2016 08:13:20 -0700 (PDT) Received: by 10.37.15.87 with HTTP; Wed, 6 Apr 2016 08:13:19 -0700 (PDT) In-Reply-To: <570526A2.70108@redhat.com> References: <570526A2.70108@redhat.com> Date: Wed, 06 Apr 2016 15:13:00 -0000 Message-ID: Subject: Re: [Patch] Avoid deadlock in guality tests. From: Yvan Roux To: Pedro Alves Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00308.txt.bz2 On 6 April 2016 at 17:09, Pedro Alves wrote: > On 04/06/2016 03:53 PM, Yvan Roux wrote: >> Dejagnu cleanup mechanism needs to be enhanced, but I think that it >> would also be better if guality tests don't get stuck and/or can be >> killed easily. This patch changes GDB signals handling to nostop for >> SIGSEGV, SIGINT, SIGTERM and SIGBUS. I am not sure if we need to >> increase the list of signals to all the stop ones (which are not used >> by GDB) or to restrict it just to SIGSEGV. > > I'd suggest: > > handle all pass nostop > handle SIGINT pass nostop > > That would make gdb pass _all_ signals except SIGTRAP I've committed it already :/ I can make the change, but isn't there cases where SIGILL is used for breakpoints in GDB (I think I've seen that somewhere). Yvan