From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Vl6VKnlrx2B4RAAAWB0awg (envelope-from ) for ; Mon, 14 Jun 2021 10:45:13 -0400 Received: by simark.ca (Postfix, from userid 112) id A11D81F163; Mon, 14 Jun 2021 10:45:13 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 A373F1E813 for ; Mon, 14 Jun 2021 10:45:12 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 535E4393A401 for ; Mon, 14 Jun 2021 14:45:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 535E4393A401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1623681912; bh=AXQPtb5pAMRKWA7IhVcQ+bAHXfB/2tKAA4eDZehdJ0U=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=p//24CHbrTBCrCE5MxjHx0tg2XLbVwwzjgXDOy3eFRoGsE9mzpSo3gVayBxLDcjHN aXWKwm4FxAJnjkPcixPQGjSrXXRLHKpzG5/E0ElvPGVKZfD/hQnXVDHJk8STDrk/JS sw/qrc1YeRw9wPbMdwwAcn6go+oZz64uOg4c7BrI= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 1F94C393BC04 for ; Mon, 14 Jun 2021 14:43:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1F94C393BC04 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46382) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsnoF-0003x9-Gb; Mon, 14 Jun 2021 10:43:27 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3723 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsnoF-0007Mc-3x; Mon, 14 Jun 2021 10:43:27 -0400 Date: Mon, 14 Jun 2021 17:43:23 +0300 Message-Id: <83v96g5wxg.fsf@gnu.org> To: Mike Frysinger In-Reply-To: (message from Mike Frysinger on Mon, 14 Jun 2021 10:35:07 -0400) Subject: Re: [PATCH] gnulib: import sys_wait References: <20210613052519.19005-1-vapier@gentoo.org> <834ke07i7y.fsf@gnu.org> 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: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Mon, 14 Jun 2021 10:35:07 -0400 > From: Mike Frysinger > Cc: gdb-patches@sourceware.org > > > AFAIU, this conflicts with what we have in gdbsupport/gdb_wait.h and > > use in windows-nat.c and win32-low.cc. Worse, the Gnulib emulation of > > this for Windows is (IMNSHO) less useful, since it doesn't support any > > abnormal termination except the equivalent of SIGABRT (which causes > > the Windows runtime to exit with status = 3). I tried to convince the > > Gnulib folks to adopt a more useful emulation, similar to what we have > > in gdb_wait.h, but AFAIR Bruno Haible rejected the idea. > > i don't think there's any conflicts. gdb* dirs probe the env w/out gnulib, > so they'll see sys/wait.h is not available, and then the gdb_wait.h and such > files will continue to be used. > > > Did you need this Gnulib module because those sims don't use > > gdbsupport? And if so, is it possible to somehow avoid clashes > > between this Gnulib module and what we have in gdb_wait.h? > > sim/ doesn't use gdbsupport/. the gdbsupport/ dir assumes it's used with > only gdb/, and is C++, so i don't think trying to generalize it is worth > the effort. OK, if there are no conflicts here, then apologies for the noise. (I never build the sim subdirectory in my builds of GDB.)