Re: [PATCH] Support gzip compressed exec and core files in gdb

Mike Frysinger
2015-03-11T20:18:54Z

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]