diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-02-20 20:53:22 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2017-02-20 21:02:20 +0100 |
commit | 0224619f6085908935f689b87e1ac4e460bb1e71 (patch) | |
tree | 34c09b59c3bad8775318ecbc545bb39038ec6e28 /sim/erc32 | |
parent | 0af92d6069f5c43f0090b78d4cb8fda7d9861b22 (diff) | |
download | gdb-0224619f6085908935f689b87e1ac4e460bb1e71.zip gdb-0224619f6085908935f689b87e1ac4e460bb1e71.tar.gz gdb-0224619f6085908935f689b87e1ac4e460bb1e71.tar.bz2 |
DWARF-5: DW_FORM_data16
DWARF-5 has new form DW_FORM_data16. The problem is that GDB cannot pass
16-byte constant as a constant value as that would require GDB to use GCC
extension __int128.
Formerly such data was coded as DW_FORM_block* so GDB still decodes
DW_FORM_data16 like DW_FORM_block*.
gdb/ChangeLog
2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (skip_one_die, read_attribute_value)
(dwarf2_const_value_attr, dump_die_shallow)
(dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes)
(skip_form_bytes, attr_form_is_constant): Handle DW_FORM_data16.
gdb/testsuite/ChangeLog
2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/formdata16.c: New file.
* gdb.dwarf2/formdata16.exp: New file.
* lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
Diffstat (limited to 'sim/erc32')
0 files changed, 0 insertions, 0 deletions