aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-lookup/struct-iteration.c
diff options
context:
space:
mode:
authorYodel Eldar <yodel.eldar@gmail.com>2025-05-26 10:12:18 -0500
committerSimon Marchi <simon.marchi@efficios.com>2025-07-02 13:08:55 -0400
commitfb2b625650ec78f7d46b357468d8fcef4990635e (patch)
treeed2a75a40f945000f35f1d57a873cc4c85ae2097 /libctf/testsuite/libctf-lookup/struct-iteration.c
parent13d14291128eefde4932ed6595ef92fa2e1528d6 (diff)
downloadbinutils-fb2b625650ec78f7d46b357468d8fcef4990635e.zip
binutils-fb2b625650ec78f7d46b357468d8fcef4990635e.tar.gz
binutils-fb2b625650ec78f7d46b357468d8fcef4990635e.tar.bz2
gdb/alpha: Add target description support
This commit adds target description support for Alpha. The target description obviates the alpha_register_type and alpha_register_name functions in alpha-tdep.c. Removal of alpha_register_reggroup_p was considered but ultimately abandoned, because the "info regs" command would no longer omit the zero, fpcr, and unique registers from its output (they are neither vector nor float types). Register types in the target description annex match the types that the alpha_register_type function returned. The locally defined register_names array was moved out of alpha_register_name and renamed to alpha_register_names as a static global; calls to alpha_register_name have been replaced with direct access of the array. The patch follows the code pattern outlined in the following GDB Internals Wiki entry: https://sourceware.org/gdb/wiki/Internals%20Adding-Target-Described-Register-Support Reviewed-By: Eli Zaretskii <eliz@gnu.org> Approved-By: Simon Marchi <simon.marchi@efficios.com> Change-Id: If4b25a891228388519074a31a682e33358c71063
Diffstat (limited to 'libctf/testsuite/libctf-lookup/struct-iteration.c')
0 files changed, 0 insertions, 0 deletions