diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-05-09 12:36:53 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-05-09 12:36:53 +0100 |
commit | 8248946cc5fd4522de630b9d86627af6e8fe0097 (patch) | |
tree | 4b3a95b65ad79c7201c1fc636106dacbcbdf659c /libiberty/hashtab.c | |
parent | e645cf40b111daef4518a58547de577eb9379ccb (diff) | |
download | gdb-8248946cc5fd4522de630b9d86627af6e8fe0097.zip gdb-8248946cc5fd4522de630b9d86627af6e8fe0097.tar.gz gdb-8248946cc5fd4522de630b9d86627af6e8fe0097.tar.bz2 |
Add current_regcache unit test
This patch adds a unit test to current_regcache, to make sure it is
correctly updated by get_thread_arch_aspace_regcache and
registers_changed_ptid.
gdb:
2017-05-09 Yao Qi <yao.qi@linaro.org>
* regcache.c [GDB_SELF_TEST]: Include selftest.h.
(current_regcache_size): New function.
(current_regcache_test): New function.
(_initialize_regcache) [GDB_SELF_TEST]: Register the unit test.
Diffstat (limited to 'libiberty/hashtab.c')
0 files changed, 0 insertions, 0 deletions