scripts: logging: dictionary: fix parsing of DWARF v5
Fix parsing of DWARF v5 in database_gen.py. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
d7574e5f44
commit
895db44388
1 changed files with 1 additions and 1 deletions
|
|
@ -366,7 +366,7 @@ def extract_string_variables(elf):
|
|||
# its address in memory.
|
||||
loc_attr = die.attributes['DW_AT_location']
|
||||
if loc_parser.attribute_has_location(loc_attr, die.cu['version']):
|
||||
loc = loc_parser.parse_from_attribute(loc_attr, die.cu['version'])
|
||||
loc = loc_parser.parse_from_attribute(loc_attr, die.cu['version'], die)
|
||||
if isinstance(loc, LocationExpr):
|
||||
try:
|
||||
addr = describe_DWARF_expr(loc.loc_expr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue