From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67606 invoked by alias); 11 Mar 2015 20:24:41 -0000 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 Received: (qmail 67587 invoked by uid 89); 11 Mar 2015 20:24:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Mar 2015 20:24:39 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NL200D00DZEMO00@a-mtaout22.012.net.il>; Wed, 11 Mar 2015 22:24:36 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NL200DKVE10JR00@a-mtaout22.012.net.il>; Wed, 11 Mar 2015 22:24:36 +0200 (IST) Date: Wed, 11 Mar 2015 20:24:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Support gzip compressed exec and core files in gdb In-reply-to: <55009DA7.4070504@eagerm.com> To: Michael Eager Cc: gdb-patches@sourceware.org, binutils@sourceware.org Reply-to: Eli Zaretskii Message-id: <83lhj3470i.fsf@gnu.org> References: <54FF77D6.7010400@eagerm.com> <83y4n34ik9.fsf@gnu.org> <55009DA7.4070504@eagerm.com> X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00323.txt.bz2 > Date: Wed, 11 Mar 2015 12:55:19 -0700 > From: Michael Eager > CC: gdb-patches@sourceware.org, binutils@sourceware.org > > > and mention neither /tmp nor $TMPDIR, as both are platform-dependent. > > I think it might be good to tell people how to specify where the > uncompressed file is located. Saying "system-wide temporary directory" does tell that, doesn't it? Users of each platform know where that is, I think. We could, of course, describe all the details for each supported platform, but then the description needs to be much longer than what you wrote. Is it really that important? > The code uses mkstemp() to create a temporary file. Is there a > GDB or BFD wrapper for this function? Not that I know of. Why do you need a wrapper?