raw _m_raw;
protected:
- inline skipping_wrapper (const raw &raw) : _m_raw (raw) {}
+ inline skipping_wrapper (const raw &r) : _m_raw (r) {}
public:
inline skipping_wrapper (const skipping_wrapper &w) : _m_raw (w._m_raw) {}
/* The template constructor lets us copy in from any class that has
compatibly iterable containers for attributes and children. */
- template<typename die>
- debug_info_entry (const die &die)
+ template<typename die_type>
+ debug_info_entry (const die_type &die)
: _m_tag (die.tag ()),
_m_attributes (die.attributes ()),
_m_children (die.children ())
// XXX should be private
public:
- template<typename die>
- compile_unit (const die &die) : debug_info_entry (die)
+ template<typename die_type>
+ compile_unit (const die_type &die) : debug_info_entry (die)
{
if (die.tag () != ::DW_TAG_compile_unit)
throw std::invalid_argument ("not a compile_unit entry");
extern int __dwarf_errno_internal (void);
+#ifndef __cplusplus
/* Reader hooks. */
/* Relocation hooks return -1 on error (in that case the error code
int err_nodata, unsigned char **endpp,
Dwarf_Off *offsetp)
internal_function;
-
+#endif /* Not C++ */
/* Aliases to avoid PLTs. */
+2009-06-15 Roland McGrath <roland@redhat.com>
+
+ * dwarf-print.cc: Include <cstdio>.
+
2009-03-25 Petr Machata <pmachata@redhat.com>
* dwarf-attributes.cc: New file.