[PATCH 1/9 v2] Move make_cleanup_close to common code
Gary Benson
gbenson@redhat.com
Wed May 27 09:52:00 GMT 2015
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/
More information about the Gdb-patches
mailing list