diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-09-05 09:54:53 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-09-05 09:54:53 +0100 |
commit | 0a188386c032126045979b7fb7c238d715c81eb5 (patch) | |
tree | 7a34674b979bf52bd421901a608bfad9417f9e5a /gdb/objfiles.c | |
parent | f49ff00066929bf7c38f9c89ad640561bbb331f6 (diff) | |
download | binutils-0a188386c032126045979b7fb7c238d715c81eb5.zip binutils-0a188386c032126045979b7fb7c238d715c81eb5.tar.gz binutils-0a188386c032126045979b7fb7c238d715c81eb5.tar.bz2 |
[GDBserver] unit test to i386_tdesc
This patch adds a unit test in GDBserver to test dynamically created
target descriptions equal these pre-generated ones.
gdb/gdbserver:
2017-09-05 Yao Qi <yao.qi@linaro.org>
* linux-x86-tdesc.c: Include selftest.h.
(i386_tdesc_test): New function.
(initialize_low_tdesc): Call selftests::register_test.
* tdesc.h: Include regdef.h.
(target_desc): Override operator == and !=.
gdb:
2017-09-05 Yao Qi <yao.qi@linaro.org>
* regformats/regdef.h (struct reg): Override operator == and !=.
Diffstat (limited to 'gdb/objfiles.c')
0 files changed, 0 insertions, 0 deletions