diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-05-07 22:56:43 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-06-20 11:34:11 +0100 |
commit | 33054362625814f457a18e88686761225237600a (patch) | |
tree | 5b11120afe8075c9f8b1a2e02cda190cf8dc6953 /cpu/sh64-media.cpu | |
parent | bc551008e618bdb990177fef8ebe0fff73c7478d (diff) | |
download | gdb-33054362625814f457a18e88686761225237600a.zip gdb-33054362625814f457a18e88686761225237600a.tar.gz gdb-33054362625814f457a18e88686761225237600a.tar.bz2 |
Lazily and dynamically create i386-linux target descriptions
Instead of using pre-generated target descriptions, this patch
changes GDB to lazily and dynamically create target descriptions
according to the target hardware capability (xcr0 in i386).
This support any combination of target features.
This patch also adds a unit test to make sure dynamically generated
tdesc are identical to these generated from xml files.
gdb:
2017-04-27 Yao Qi <yao.qi@linaro.org>
* i386-linux-tdep.c (i386_linux_read_description): Generate
target description if it doesn't exist.
[GDB_SELF_TEST] (i386_linux_read_description_test): New unit test.
(_initialize_i386_linux_tdep) [GDB_SELF_TEST]: Register unit test.
Diffstat (limited to 'cpu/sh64-media.cpu')
0 files changed, 0 insertions, 0 deletions