This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 0/5] remove cleanups from regcache


On 17-09-23 20:46:03, Tom Tromey wrote:
> This series removes the remaining cleanups from regcache and related
> code.
> 
> First, it removes regcache_xmalloc and regcache_xfree in favor of
> using plain new and delete everywhere.  These were already used under
> the hood; this just removes a layer of indirection.
> 
> Second, the main patch, #3, removes a cleanup by using
> std::unique_ptr.
> 
> The final two patches remove some cleanups locally in regcache.c by
> using standard techniques.
> 
> Regression tested by the buildbot.
> 
> Tom
> 

Hi Tom,
I gave comments to one patch, but the rest of them are good to me.  I
wanted to remove cleanup from regcache for a while, but don't have a
chance.  Thanks for doing this.

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]