diff options
author | Tom Tromey <tromey@adacore.com> | 2025-04-25 08:13:36 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-04-29 11:34:49 -0600 |
commit | 48d0ac705c45cb588a8e6d19ee911bc225c897cf (patch) | |
tree | 2916bf012082517567d779b19488042893825a91 /gdb/python/python.h | |
parent | a7175864d96765b291276cf3a6508b78ad3a9b23 (diff) | |
download | binutils-48d0ac705c45cb588a8e6d19ee911bc225c897cf.zip binutils-48d0ac705c45cb588a8e6d19ee911bc225c897cf.tar.gz binutils-48d0ac705c45cb588a8e6d19ee911bc225c897cf.tar.bz2 |
Handle base type without DW_AT_byte_size
DWARF says that a base type can have DW_AT_bit_size, without
DW_AT_byte_size. However, gdb does not correctly handle this; in
fact, it crashes, as pointed out in this LLVM merge request:
https://github.com/llvm/llvm-project/pull/137123
This patch reworks the base type size logic a bit to handle this
situation.
Tested-by: Kevin Buettner <kevinb@redhat.com>
Approved-by: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'gdb/python/python.h')
0 files changed, 0 insertions, 0 deletions