diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-09-13 16:48:27 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-09-13 16:48:27 +0100 |
commit | c749ff472db05b55b183eac3de5a0edd75798a56 (patch) | |
tree | 913108efdfdd0586796edc6ca88fa6af6adce122 /gdb/doc | |
parent | 94db4093aa62bad3fc8abea6ba6b353b1699e6bb (diff) | |
download | gdb-c749ff472db05b55b183eac3de5a0edd75798a56.zip gdb-c749ff472db05b55b183eac3de5a0edd75798a56.tar.gz gdb-c749ff472db05b55b183eac3de5a0edd75798a56.tar.bz2 |
Add target_description_changed_p and target_get_tdep_info methods
target_description_changed_p () is added as a new gdbarch function.
Given a list of register values received from the inferior, it will check if
the current target descriptor is no longer valid for the inferior. This is
required because on SVE the register sizes can change whilst the inferior is
running.
target_get_tdep_info () is added as a new gdbarch function.
Given a list of registers, it will return a tdep info which then can be used
when creating/finding a valid target descriptor for that inferior.
Include stubbed aarch64 versions.
2018-09-13 Alan Hayward <alan.hayward@arm.com>
gdb/
* aarch64-tdep.c (aarch64_target_description_changed_p): New function.
(aarch64_target_get_tdep_info): New function.
(aarch64_gdbarch_init): Add in the new functions
* arch-utils.c (default_target_description_changed_p): New function.
(default_target_get_tdep_info): New function.
* arch-utils.h: (default_target_description_changed_p): New
declaration.
(default_target_get_tdep_info): New declaration.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* gdbarch.sh: (target_description_changed_p): New function.
(target_get_tdep_info): New function.
Diffstat (limited to 'gdb/doc')
0 files changed, 0 insertions, 0 deletions