This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/9 v2] Move make_cleanup_close to common code
- From: Gary Benson <gbenson at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Eli Zaretskii <eliz at gnu dot org>, Doug Evans <dje at google dot com>, Iago López Galeiras <iago at endocode dot com>
- Date: Wed, 27 May 2015 10:52:16 +0100
- Subject: Re: [PATCH 1/9 v2] Move make_cleanup_close to common code
- Authentication-results: sourceware.org; auth=none
- References: <1429186791-6867-1-git-send-email-gbenson at redhat dot com> <1430395542-16017-2-git-send-email-gbenson at redhat dot com> <555DF210 dot 5080005 at redhat dot com>
Pedro Alves wrote:
> On 04/30/2015 01:05 PM, Gary Benson wrote:
> > This commit moves the function make_cleanup_close from gdb/utils.[ch]
> > to gdb/common/cleanup-utils.[ch] to make it usable from common code.
> > A new file was created over putting the function in common-utils.[ch]
> > to avoid having to build cleanups.c into the in-process agent.
>
> Hmm, how about avoiding creating another kitchensync, and putting
> this in common/filestuff.[ch]?
I can do that.
Cheers,
Gary
--
http://gbenson.net/