This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Support gzip compressed exec and core files in gdb
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Michael Eager <eager at eagerm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 01 May 2015 20:53:13 +0300
- Subject: Re: [PATCH] Support gzip compressed exec and core files in gdb
- Authentication-results: sourceware.org; auth=none
- References: <54FF77D6 dot 7010400 at eagerm dot com> <5543905A dot 1040108 at eagerm dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 01 May 2015 07:40:26 -0700
> From: Michael Eager <eager@eagerm.com>
>
> On 03/10/2015 04:01 PM, Michael Eager wrote:
> > Add support to automatically unzip compressed executable and core files.
> > Files will be uncompressed into temporary directory (/tmp or $TMPDIR)
> > and are deleted when GDB exits. This should be transparent to users,
> > except for disk space requirements. The name of the uncompressed file is
> > mentioned, but all references to the file in GDB messages is to the file
> > which the user specified.
>
> Attached is a revised patch. I discovered a logic error after refactoring
> the code.
OK for the documentation parts.
> + decomp_fd = mkstemp (template);
Do we have mkstemp on all supported platforms?
Thanks.