From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6658 invoked by alias); 12 Jan 2010 19:37:21 -0000 Received: (qmail 6636 invoked by uid 22791); 12 Jan 2010 19:37:20 -0000 X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jan 2010 19:37:15 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KW500B00FTBX700@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Tue, 12 Jan 2010 21:37:12 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.60.183]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KW500872FTZMMB0@a-mtaout23.012.net.il>; Tue, 12 Jan 2010 21:37:12 +0200 (IST) Date: Tue, 12 Jan 2010 19:37:00 -0000 From: Eli Zaretskii Subject: Re: [patch] Do not disappoint on "Create a core file of GDB?" In-reply-to: <36BBE15B-5F48-48CD-ABE6-E0D39818EBB2@adacore.com> To: Tristan Gingold Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <836377867l.fsf@gnu.org> References: <20100111160241.GA12356@host0.dyn.jankratochvil.net> <83fx6c8ncd.fsf@gnu.org> <36BBE15B-5F48-48CD-ABE6-E0D39818EBB2@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00312.txt.bz2 > From: Tristan Gingold > Date: Tue, 12 Jan 2010 09:45:29 +0100 > Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org > > > On Jan 11, 2010, at 8:15 PM, Eli Zaretskii wrote: > > >> From: Tristan Gingold > >> Date: Mon, 11 Jan 2010 17:07:30 +0100 > >> Cc: gdb-patches@sourceware.org > >> > >> > >>> setrlimit is a POSIX function so I hope it does not need autoconf magic: > >>> http://www.opengroup.org/onlinepubs/009695399/functions/setrlimit.html > >> > >> Sure, but windows is not POSIX compliant, so I think you can't avoid some autoconf stuff. > > > > Which "windows" do you have in mind? If it's Cygwin, I'd imagine it > > does have setrlimit. If you are talking about native Windows, then it > > cannot dump core, anyway, can it? > > Sure. But it doesn't have setrlimit/getrlimit. But of course. In case I wasn't clear, I was actually wondering how come we compile a source file that's needed for reading and writing core files on a system where core files aren't supported. We shouldn't compile it, and this problem should not exist.