From e32d29230d09fb24c2a0a58ed0633a9651d1386d Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 23 Feb 2011 19:59:41 +0100 Subject: We relied on the *info () hack in dwarf_output, so put it back for now. --- libdw/c++/dwarf_output | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libdw/c++/dwarf_output b/libdw/c++/dwarf_output index 119221c1..e792a929 100644 --- a/libdw/c++/dwarf_output +++ b/libdw/c++/dwarf_output @@ -151,6 +151,12 @@ namespace elfutils friend class dwarf_output; friend class dwarf_output_collector; + __attribute__((used)) die_info_pair *info () const + { + return reinterpret_cast + (const_cast (this)); + } + public: class attributes_type : public dwarf_data::attributes_type -- cgit v1.2.3