Remove regcache_xmalloc
authorTom Tromey <tom@tromey.com>
Sat, 23 Sep 2017 20:39:56 +0000 (14:39 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 26 Sep 2017 01:54:05 +0000 (19:54 -0600)
commit791199cc75fd294a4f5a228f83abdcbfb4c64c7e
tree284093a182da8b2db2f6937ef6039c9adbb84265
parenta54018b72d75abf2e74bf36016702da06399c1d9
Remove regcache_xmalloc

This patch removes regcache_xmalloc in favor of plain "new".

gdb/ChangeLog
2017-09-25  Tom Tromey  <tom@tromey.com>

* regcache.h (regcache_xmalloc): Don't declare.
(regcache_raw_set_cached_value): Update comment.
* regcache.c (regcache_xmalloc): Remove.
* ppc-linux-tdep.c (ppu2spu_sniffer): Use new.
* jit.c (jit_frame_sniffer): Use new.
* frame.c (frame_save_as_regcache): Use new.
gdb/ChangeLog
gdb/frame.c
gdb/jit.c
gdb/ppc-linux-tdep.c
gdb/regcache.c
gdb/regcache.h