[PATCH] Support gzip compressed exec and core files in gdb
Mike Frysinger
vapier@gentoo.org
Wed Mar 11 20:18:00 GMT 2015
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.
>
> 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 easy
to import a gnulib module that provides that func as a fallback
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20150311/4308e3c5/attachment.sig>
More information about the Binutils
mailing list