From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 8197A3886C66 for ; Mon, 14 Jun 2021 12:59:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8197A3886C66 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 660EAB3FF5; Mon, 14 Jun 2021 14:59:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zFig8_-wnomR; Mon, 14 Jun 2021 14:59:48 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p50854661.dip0.t-ipconnect.de [80.133.70.97]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id DAC86B3EF6; Mon, 14 Jun 2021 14:59:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1623675588; bh=6ln5JCOibpa24ctju4ECPCg1UPcy0E/AujhFUAjmgjU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=h+7U73EDjVuSSMul7La0ueSEgHEg1+gAN8GzlY1DmEH0LsqG/9H02O4DGTDq32Bbs D+az2NhHFmHsuD3VSIRk4By0MWvAaY3Monmvn5tl0z+uJd1Q6+iVd4XGinFTVtTZt0 zbRaJT+9ysPVc/KQmLzz4ksBKoLN5nv+huY/CkmqnFmXCqDYC95JVWOG0wm/xvVwEf jJ4lUqKyD33VVN5G9DnQtWEisZJEfiqjtrwMvk6Wa3fNgGNu9GhwYiFT7Rc8Lp66pW zeHFmw/Vv93hUDFyL0KYHL4lcu8vZ0WksZN+vDc1kT6fr8xujHGPue1Q+HOt/7i58R 2qjHiZpRSWL7w== From: Rainer Orth To: Bernd Edlinger Cc: Tom Tromey , "gdb-patches@sourceware.org" Subject: Re: [PATCH] Fix gdb crash due to SIGPIPE when the compile command fails References: <87tumgp1ob.fsf@tromey.com> <87zgw5oijf.fsf@tromey.com> Date: Mon, 14 Jun 2021 14:59:47 +0200 In-Reply-To: (Bernd Edlinger's message of "Mon, 14 Jun 2021 14:57:00 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3787.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.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: , X-List-Received-Date: Mon, 14 Jun 2021 12:59:50 -0000 Hi Bernd, >> and I have a very hard time deciding where needs to be >> included given the enormous range of headers included by compile.c. >> > > Oh, I see, looks like it did only work by chance. > Maybe just include it after all other headers: that's what I've been using myself to fix the build locally. However, as I said I'm completely uncertain if that's the right fix, especially given that gdb/compile files don't include any system headers directly. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University