From: Mark Wielaard Date: Wed, 23 Feb 2011 18:59:41 +0000 (+0100) Subject: We relied on the *info () hack in dwarf_output, so put it back for now. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e32d29230d09fb24c2a0a58ed0633a9651d1386d;p=thirdparty%2Felfutils.git We relied on the *info () hack in dwarf_output, so put it back for now. --- diff --git a/libdw/c++/dwarf_output b/libdw/c++/dwarf_output index 119221c12..e792a929e 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