diff --git a/scripts/logging/dictionary/database_gen.py b/scripts/logging/dictionary/database_gen.py index 5060ef3b928..cabc1395083 100755 --- a/scripts/logging/dictionary/database_gen.py +++ b/scripts/logging/dictionary/database_gen.py @@ -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,