diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-08-18 09:20:43 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-08-18 09:20:43 +0100 |
commit | 86dcbf50fe5f59fbc35f38f02ab6c1803c29f383 (patch) | |
tree | d11394fa935d66224b65bacddf51af83c5af03c1 /gdb/ChangeLog | |
parent | 7649770c8e52afe2696a70bb50ac3039c844d381 (diff) | |
download | gdb-86dcbf50fe5f59fbc35f38f02ab6c1803c29f383.zip gdb-86dcbf50fe5f59fbc35f38f02ab6c1803c29f383.tar.gz gdb-86dcbf50fe5f59fbc35f38f02ab6c1803c29f383.tar.bz2 |
Remove some GDB specific stuff from selftest.c
The next patch moves selftest.c to common/selftest.c, so that GDBserver
can use it as well. However selftest.c uses something isn't "portable" on
GDB and GDBserver.
First, this patch removes QUIT. I don't expect that we type ctrl-c during
self/unit tests, and each test shouldn't take long time. Secondly, I
replace exception_fprintf and printf_filtered with debug_printf. Verified
that unit tests still catch fails.
gdb:
2017-08-18 Yao Qi <yao.qi@linaro.org>
* selftest.c (run_tests): Don't call QUIT. Call debug_printf
instead of exception_fprintf and printf_filtered.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec138de..4a0f3e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-08-18 Yao Qi <yao.qi@linaro.org> + * selftest.c (run_tests): Don't call QUIT. Call debug_printf + instead of exception_fprintf and printf_filtered. + +2017-08-18 Yao Qi <yao.qi@linaro.org> + * selftest.c (register_self_test): Rename it to selftests::register_test. (run_self_tests): selftest::run_tests. |