This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Clear GDB internal state after each unit test
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 24 May 2017 18:07:45 -0400
- Subject: [binutils-gdb] Clear GDB internal state after each unit test
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 7a3929c417b1388c689a0cd6b0b2f6579d85ec78 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7a3929c417b1388c689a0cd6b0b2f6579d85ec78
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.