diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2025-07-12 10:56:45 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2025-07-12 11:33:25 +0200 |
commit | 11d33617e04dc6c54274ce69640218efd26519f5 (patch) | |
tree | a5f32333a18f7fb381aaee6e0b3ecacf42aa55fd /gdb/python/py-gdb-readline.c | |
parent | 3e97860c29ae2aee5644fd10cf868d2f1f5c9703 (diff) | |
download | binutils-11d33617e04dc6c54274ce69640218efd26519f5.zip binutils-11d33617e04dc6c54274ce69640218efd26519f5.tar.gz binutils-11d33617e04dc6c54274ce69640218efd26519f5.tar.bz2 |
binutils: factorize handling of arch-specific DWARF augmentations
This patch factorizes the handling of architecture/machine specific
augmentation characters in CIEs.
Based on an idea proposed by Richard Earnshaw.
binutils/ChangeLog:
* dwarf.c (is_mach_augmentation_ftype): New type.
(is_mach_augmentation): New variable.
(is_nomach_augmentation): New function.
(is_aarch64_augmentation): Likewise.
(init_dwarf_by_elf_machine_code): Set is_mach_augmentation as
appropriate.
(init_dwarf_by_bfd_arch_and_mach): Likewise.
(read_cie): Handle architecture-specific augmentation characters
in a generic way.
Diffstat (limited to 'gdb/python/py-gdb-readline.c')
0 files changed, 0 insertions, 0 deletions