mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Add support for attributes using DW_FORM_GNU_strp_alt
* dwarf.c (read_and_display_attr_value): Support DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and DW_AT_comp_dir.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2020-06-30 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* dwarf.c (read_and_display_attr_value): Support
|
||||||
|
DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
|
||||||
|
DW_AT_comp_dir.
|
||||||
|
|
||||||
2020-06-30 Alan Modra <amodra@gmail.com>
|
2020-06-30 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
|
* testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
|
||||||
|
@ -2574,6 +2574,9 @@ read_and_display_attr_value (unsigned long attribute,
|
|||||||
case DW_FORM_strp:
|
case DW_FORM_strp:
|
||||||
add_dwo_name ((const char *) fetch_indirect_string (uvalue));
|
add_dwo_name ((const char *) fetch_indirect_string (uvalue));
|
||||||
break;
|
break;
|
||||||
|
case DW_FORM_GNU_strp_alt:
|
||||||
|
add_dwo_name ((const char *) fetch_alt_indirect_string (uvalue));
|
||||||
|
break;
|
||||||
case DW_FORM_GNU_str_index:
|
case DW_FORM_GNU_str_index:
|
||||||
add_dwo_name (fetch_indexed_string (uvalue, this_set, offset_size, FALSE));
|
add_dwo_name (fetch_indexed_string (uvalue, this_set, offset_size, FALSE));
|
||||||
break;
|
break;
|
||||||
@ -2595,6 +2598,9 @@ read_and_display_attr_value (unsigned long attribute,
|
|||||||
case DW_FORM_strp:
|
case DW_FORM_strp:
|
||||||
add_dwo_dir ((const char *) fetch_indirect_string (uvalue));
|
add_dwo_dir ((const char *) fetch_indirect_string (uvalue));
|
||||||
break;
|
break;
|
||||||
|
case DW_FORM_GNU_strp_alt:
|
||||||
|
add_dwo_dir (fetch_alt_indirect_string (uvalue));
|
||||||
|
break;
|
||||||
case DW_FORM_line_strp:
|
case DW_FORM_line_strp:
|
||||||
add_dwo_dir ((const char *) fetch_indirect_line_string (uvalue));
|
add_dwo_dir ((const char *) fetch_indirect_line_string (uvalue));
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user