From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44796 invoked by alias); 11 Mar 2015 20:18:54 -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 44776 invoked by uid 89); 11 Mar 2015 20:18:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 11 Mar 2015 20:18:52 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 021E6340AE2; Wed, 11 Mar 2015 20:18:49 +0000 (UTC) Date: Wed, 11 Mar 2015 20:18:00 -0000 From: Mike Frysinger To: Michael Eager Cc: Eli Zaretskii , gdb-patches@sourceware.org, binutils@sourceware.org Subject: Re: [PATCH] Support gzip compressed exec and core files in gdb Message-ID: <20150311201849.GD877@vapier> Mail-Followup-To: Michael Eager , Eli Zaretskii , gdb-patches@sourceware.org, binutils@sourceware.org References: <54FF77D6.7010400@eagerm.com> <83y4n34ik9.fsf@gnu.org> <55009DA7.4070504@eagerm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BRE3mIcgqKzpedwo" Content-Disposition: inline In-Reply-To: <55009DA7.4070504@eagerm.com> X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00321.txt.bz2 --BRE3mIcgqKzpedwo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 489 On 11 Mar 2015 12:55, Michael Eager wrote: > On 03/11/15 09:15, Eli Zaretskii wrote: > > I agree with Mike that it's better to use library functions for > > creating temporary files, since that hides platform dependencies. >=20 > The code uses mkstemp() to create a temporary file. Is there a > GDB or BFD wrapper for this function? if you're worried about portability, gdb uses gnulib now, so it should be e= asy=20 to import a gnulib module that provides that func as a fallback -mike --BRE3mIcgqKzpedwo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVAKMpAAoJEEFjO5/oN/WB5QoP/Rwm7ite7qXU6SgvXU4jAUZ0 YCkoHPrpm5uit/url57tbonWQgHZigEiKZ5mJAcnSDaiWaT2PM21l0XQPquLnLgW ngBx2P2h+1XfgY+CpdddguuyPPr6HTIrlCV8m/qxHQdLutiAgCfHNRWMYzigNzO3 R5S/HNXTbWrCmMkSsZrobj7GxxZOAnvM2iGjDYDWGGYoir6LM33ItSk9bt89zPDb aLIPhmOspl6IGZKGYjYxJcXBllJKfUwJFF0KSRHieHfci9g2T6tjXPW93HqYi4zh gk1kPNe3/ztEUik4YYSwGVISb3VNxvMe9E8Z7vuSCT0pvRuI6bwAV2uEWSSlcULA lYtfx9cXk54p3GnSZdOncT9vNoolAG8EJju5umQmQrSh8iaJ7VP/UYemJndVR3cE HvbO6FI1nk4l9XT+WkyRbPc+iU8segNwIdXcu6m+EiwN9KoOLhhPYXfW7Ze9BaIx xvZauW2phCdQ1Z8O7DMrbh1at3cbcESQzJ2o/OL/l+mqSLv0RGdNuqzDDWSvBano ESpktB/vz584zwKT0OBpBp3t9z9pWDoYaQ836PZUgFUlskB7FfJ5A26C+8BLElZu sFrPnAZeHpycC3sxSQP2iAdnG7lDlBxjwtgAzBF8b7WVgLpEiVlBTcWy2YGSYwWo t+RlW+FkuLFKoQ7lO51L =GDZy -----END PGP SIGNATURE----- --BRE3mIcgqKzpedwo--