[PATCH 0/3] Use selftest.c in GDBserver
Yao Qi
qiyaoltc@gmail.com
Fri Aug 11 15:31:00 GMT 2017
This patch series is split from "[PATCH 00/26 v3] Make GDB builtin
target descriptions more flexible"
https://sourceware.org/ml/gdb-patches/2017-07/msg00076.html, because,
IMO, adding self/unit tests in GDBserver doesn't related much to my
target description patches. My target description patches only use
common/selftest.c to do some unit tests in GDBserver.
I also want to include one patch to use self tests in GDBserver, but
can't find a module in GDBserver to test.
*** BLURB HERE ***
Yao Qi (3):
Put selftests api into selftests namespace
Remove some GDB specific stuff from selftest.c
GDBserver self tests
gdb/Makefile.in | 2 +-
gdb/NEWS | 21 +++++++++++++--------
gdb/aarch64-tdep.c | 4 ++--
gdb/arm-tdep.c | 2 +-
gdb/{ => common}/selftest.c | 24 +++++++++++++-----------
gdb/{ => common}/selftest.h | 13 +++++++++++--
gdb/disasm-selftests.c | 4 ++--
gdb/doc/gdb.texinfo | 9 +++++++++
gdb/dwarf2-frame.c | 2 +-
gdb/dwarf2loc.c | 2 +-
gdb/findvar.c | 2 +-
gdb/gdbarch-selftests.c | 2 +-
gdb/gdbserver/Makefile.in | 1 +
gdb/gdbserver/config.in | 3 +++
gdb/gdbserver/configure | 6 ++++++
gdb/gdbserver/configure.ac | 5 +++++
gdb/gdbserver/server.c | 29 +++++++++++++++++++++++++++--
gdb/maint.c | 2 +-
gdb/regcache.c | 2 +-
gdb/rust-exp.y | 2 +-
gdb/selftest-arch.c | 18 ++++++++++++------
gdb/selftest-arch.h | 5 ++++-
gdb/unittests/environ-selftests.c | 2 +-
gdb/unittests/function-view-selftests.c | 2 +-
gdb/unittests/offset-type-selftests.c | 2 +-
gdb/unittests/optional-selftests.c | 2 +-
gdb/unittests/scoped_restore-selftests.c | 2 +-
gdb/utils-selftests.c | 2 +-
28 files changed, 123 insertions(+), 49 deletions(-)
rename gdb/{ => common}/selftest.c (76%)
rename gdb/{ => common}/selftest.h (87%)
--
1.9.1
More information about the Gdb-patches
mailing list