This is the mail archive of the
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, binutils at sourceware dot org
- Date: Wed, 11 Mar 2015 22:24:29 +0200
- 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> <83y4n34ik9 dot fsf at gnu dot org> <55009DA7 dot 4070504 at eagerm dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 11 Mar 2015 12:55:19 -0700
> From: Michael Eager <firstname.lastname@example.org>
> CC: email@example.com, firstname.lastname@example.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?