diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-04-28 14:43:13 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-04-28 14:43:13 +0100 |
commit | 4621115fe529869e938dca605bb90190ea52316a (patch) | |
tree | 6d6f237f585128861ffe4e605adb85e3335ab9ff /gdb/inferior.c | |
parent | b06b2c92c06cf100f259f218337d007ee0b1c884 (diff) | |
download | gdb-4621115fe529869e938dca605bb90190ea52316a.zip gdb-4621115fe529869e938dca605bb90190ea52316a.tar.gz gdb-4621115fe529869e938dca605bb90190ea52316a.tar.bz2 |
Add constructor and destructor to regcache
This patch adds ctor and dtor to regcache.
gdb:
2017-04-28 Yao Qi <yao.qi@linaro.org>
* regcache.c (regcache::regcache): New function.
(regcache::~regcache): New function.
(regcache_xmalloc_1): Remove.
(regcache_xmalloc): Call new regcache.
(regcache_xfree): Call delete regcache.
(get_thread_arch_aspace_regcache): Call new regcache.
Diffstat (limited to 'gdb/inferior.c')
0 files changed, 0 insertions, 0 deletions