diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-05-24 22:15:22 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-05-24 22:15:22 +0100 |
commit | 7a3929c417b1388c689a0cd6b0b2f6579d85ec78 (patch) | |
tree | 2389ef4efe2e4fe086ca004be7138fd8c278bc98 /gdb/ft32-tdep.c | |
parent | 88c1242dc0a1e1ab582a65ea8bd05eb5f244c59b (diff) | |
download | gdb-7a3929c417b1388c689a0cd6b0b2f6579d85ec78.zip gdb-7a3929c417b1388c689a0cd6b0b2f6579d85ec78.tar.gz gdb-7a3929c417b1388c689a0cd6b0b2f6579d85ec78.tar.bz2 |
Clear GDB internal state after each unit test
GDB has some global variables, like sentinel_frame,
current_thread_arch, and etc, we need to reset them after each unit
tests.
gdb:
2017-05-24 Yao Qi <yao.qi@linaro.org>
* selftest-arch.c (tests_with_arch): Call registers_changed
and reinit_frame_cache.
* selftest.c (run_self_tests): Likewise.
Diffstat (limited to 'gdb/ft32-tdep.c')
0 files changed, 0 insertions, 0 deletions