This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove regcache_descr fields sizeof_raw_register_status and sizeof_cooked_register_status
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 02 Nov 2017 11:27:07 -0400
- Subject: [binutils-gdb] Remove regcache_descr fields sizeof_raw_register_status and sizeof_cooked_register_status
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 6c5218dfdb7b38cc1617be7753cc1ec6d0612382 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 6c5218dfdb7b38cc1617be7753cc1ec6d0612382
Remove regcache_descr fields sizeof_raw_register_status and sizeof_cooked_register_status
struct regcache_descr has two fields sizeof_raw_register_status
and sizeof_cooked_register_status, but they equal to nr_cooked_registers
and nr_raw_registers respectively, so this patch removes them.
gdb:
2017-11-02 Yao Qi <yao.qi@linaro.org>
* regcache.c (struct regcache_descr) <sizeof_raw_register_status>:
Remove.
<sizeof_cooked_register_status>: Remove.
(init_regcache_descr): Update.
(regcache::regcache): Use nr_cooked_registers and nr_raw_registers.
(regcache::save): Likewise.
(regcache::dump): Likewise.