From 50fd4fbdee22a7d9038d60e4c9a85de1921a4686 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 21 Sep 2009 16:42:19 -0700 Subject: [PATCH] DW_AT_const_value can take an address too. --- libdw/ChangeLog | 5 +++++ libdw/c++/dwarf-knowledge.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 4ee405f8c..5d4a6ee35 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,8 @@ +2009-09-21 Roland McGrath + + * c++/dwarf-knowledge.cc (expected_value_space): DW_AT_const_value can + take an address too. + 2009-09-08 Roland McGrath * c++/dwarf_output: Match duplicates going into the collector even diff --git a/libdw/c++/dwarf-knowledge.cc b/libdw/c++/dwarf-knowledge.cc index c4c7a8114..3d8edeb55 100644 --- a/libdw/c++/dwarf-knowledge.cc +++ b/libdw/c++/dwarf-knowledge.cc @@ -106,7 +106,7 @@ expected_value_space (int attr, int tag) return VS(source_file); case DW_AT_const_value: - return VS(constant) | VS(string); + return VS(constant) | VS(string) | VS(address); case DW_AT_is_optional: case DW_AT_prototyped: -- 2.47.3