Use std::forward_list for current_regcache
authorYao Qi <yao.qi@linaro.org>
Tue, 9 May 2017 11:36:53 +0000 (12:36 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 9 May 2017 11:36:53 +0000 (12:36 +0100)
commit94bb8dfe28219e4b747cb874aae401d18df91c9b
tree66f5c076ff70e3885c3ebe991444ebabb6ca988e
parent8248946cc5fd4522de630b9d86627af6e8fe0097
Use std::forward_list for current_regcache

gdb:

2017-05-09  Yao Qi  <yao.qi@linaro.org>

* regcache.c: Include <forward_list>.
(struct regcache_list): Remove.
(current_regcache): Update.
(get_thread_arch_aspace_regcache): Update for std::forward_list.
(regcache_thread_ptid_changed): Likewise.
(registers_changed_ptid): Likewise.
(current_regcache_size): Likewise.
gdb/ChangeLog
gdb/regcache.c