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

Eli Zaretskii eliz@gnu.org
Wed Mar 11 20:24:00 GMT 2015


> Date: Wed, 11 Mar 2015 12:55:19 -0700
> From: Michael Eager <eager@eagerm.com>
> 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?



More information about the Binutils mailing list