Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA 0/5] remove cleanups from regcache
@ 2017-09-24  2:46 Tom Tromey
  2017-09-24  2:46 ` [RFA 1/5] Remove regcache_xmalloc Tom Tromey
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Tom Tromey @ 2017-09-24  2:46 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-09-26  5:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-24  2:46 [RFA 0/5] remove cleanups from regcache Tom Tromey
2017-09-24  2:46 ` [RFA 1/5] Remove regcache_xmalloc Tom Tromey
2017-09-26  4:55   ` Tom Tromey
2017-09-26  5:10     ` Sergio Durigan Junior
2017-09-24  2:46 ` [RFA 5/5] Remove the last cleanup from regcache.c Tom Tromey
2017-09-24  2:46 ` [RFA 4/5] Remove make_cleanup_regcache_invalidate Tom Tromey
2017-09-25 20:04   ` Yao Qi
2017-09-26  1:36     ` Tom Tromey
2017-09-26  1:56       ` Tom Tromey
2017-09-24  2:46 ` [RFA 2/5] Remove regcache_xfree Tom Tromey
2017-09-24  2:46 ` [RFA 3/5] Remove make_cleanup_regcache_xfree Tom Tromey
2017-09-26  0:08 ` [RFA 0/5] remove cleanups from regcache Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox