diff options
author | Alok Kumar Sharma <AlokKumar.Sharma@amd.com> | 2020-07-01 11:53:09 +0530 |
---|---|---|
committer | alosharm <AlokKumar.Sharma@amd.com> | 2020-07-01 16:57:17 +0530 |
commit | 9cdf98207c5bab668e3734d11d5a24d6b5375b54 (patch) | |
tree | 64cb7a8e7c5d5011a3926de90b50e9368de5f811 /gdb/ChangeLog | |
parent | cc574a35a22ed984fb2d459669d1bac9f843f920 (diff) | |
download | gdb-9cdf98207c5bab668e3734d11d5a24d6b5375b54.zip gdb-9cdf98207c5bab668e3734d11d5a24d6b5375b54.tar.gz gdb-9cdf98207c5bab668e3734d11d5a24d6b5375b54.tar.bz2 |
Allow reference form for DW_AT_associated and DW_AT_allocated attributes
Currently, GDB rejects the (die) reference form while it accepts exprloc
form. It is allowed in DWARF standard. "Table 7.5: Attribute encodings"
in DWARF5 standard. Flang compiler assigns (die) reference to
DW_AT_associated and DW_AT_allocated for some cases.
gdb/ChangeLog
* dwarf2/read.c (set_die_type): Removed conditions to restrict
forms for DW_AT_associated and DW_AT_allocated attributes,
which is already checked in function attr_to_dynamic_prop.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d64f572..404ee40 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2020-07-01 Alok Kumar Sharma <AlokKumar.Sharma@amd.com> + + * dwarf2/read.c (set_die_type): Removed conditions to restrict + forms for DW_AT_associated and DW_AT_allocated attributes, + which is already checked in function attr_to_dynamic_prop. + 2020-06-30 Tom Tromey <tromey@adacore.com> * dwarf2/read.c (quirk_rust_enum): Correctly call |