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]

[RFA 0/5] remove cleanups from regcache


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


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