From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id kNdQLi1Va1/ZRwAAWB0awg (envelope-from ) for ; Wed, 23 Sep 2020 10:01:17 -0400 Received: by simark.ca (Postfix, from userid 112) id 38E9F1EDF4; Wed, 23 Sep 2020 10:01:16 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 72A7A1E990 for ; Wed, 23 Sep 2020 10:01:05 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 777363954C04; Wed, 23 Sep 2020 14:01:04 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 57BC83894C3B for ; Wed, 23 Sep 2020 14:01:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 57BC83894C3B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark@simark.ca Received: from [172.16.0.95] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 30B071E790; Wed, 23 Sep 2020 10:00:59 -0400 (EDT) Subject: Re: GDB 10.1 release -- 2020-09-18 Update To: Tom Tromey References: <20200918234602.GA4674@adacore.com> <87k0wkpq82.fsf@tromey.com> From: Simon Marchi Message-ID: Date: Wed, 23 Sep 2020 10:00:58 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87k0wkpq82.fsf@tromey.com> Content-Type: text/plain; charset=utf-8 Content-Language: tl Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gdb-patches@sourceware.org, Joel Brobecker Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2020-09-23 9:39 a.m., Tom Tromey wrote: > Simon> Here's another regression since the last release, which should be > Simon> fixed prior to the release: > > Simon> "maintenance set target-async off" is broken on GNU/Linux > Simon> https://sourceware.org/bugzilla/show_bug.cgi?id=26642 > > Is there some particular need for this? > I tend to think maintenance commands shouldn't block a release. > > Tom There is no real need for using "target-async off" on Linux, but I think it exposes a real bug in the core of GDB (in infrun) that would affect any sync target. However, the bug happens because even in target-async off mode, linux_nat_target::wait obeys the TARGET_WNOHANG and doesn't block. Maybe that doesn't make sense: a sync target should block in wait, by definition. Any other sync target would just ignore TARGET_WNOHANG, so we wouldn't hit the same bug as I hit with the linux-nat target. Simon