This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add constructor and destructor to regcache
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 28 Apr 2017 10:13:12 -0400
- Subject: [binutils-gdb] Add constructor and destructor to regcache
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 4621115fe529869e938dca605bb90190ea52316a ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 4621115fe529869e938dca605bb90190ea52316a
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.