dwarf_edit_SOURCES = dwarf_edit.cc print-die.cc
dwarf_edit_LDADD = $(libdwpp) $(libmudflap) -ldl
-dwarf_edit_output_SOURCES = dwarf_edit_output.cc print-die.cc \
- ../src/dwarfstrings.c
+dwarf_edit_output_SOURCES = dwarf_edit_output.cc print-die.cc
dwarf_edit_output_LDADD = $(libdwpp) $(libmudflap) -ldl
arextract_LDADD = $(libelf) $(libmudflap)
#include "c++/subr.hh"
-#include "../src/dwarfstrings.h"
-
using namespace elfutils;
using namespace std;
cmp compare;
if (compare.compare_dies (*die1, *die2, in) != same)
error (-1, 0, "dwarf_comparator fail %s test #%d '%s'",
- dwarf_tag_string (tag), n, name);
+ dwarf::tags::name (tag).c_str (), n, name);
}
dwarf_output::compile_units_type::const_iterator cu;
it++;
}
if (show_output)
- cout << "offset last (" << dwarf_tag_string (tag) << ") cu1: "
+ cout << "offset last (" << dwarf::tags::name (tag) << ") cu1: "
<< hex << off1 << endl;
cu++;
it++;
}
if (show_output)
- cout << "offset last (" << dwarf_tag_string (tag) << ") cu2: "
+ cout << "offset last (" << dwarf::tags::name (tag) << ") cu2: "
<< hex << off2 << endl;
bool both_zero = off1 == 0 && off2 == 0;
bool equal = off1 == off2;
if (! both_zero && equal != same)
error (-1, 0, "dwarf_comparator fail %s test #%d '%s'",
- dwarf_tag_string (tag), n, name);
+ dwarf::tags::name (tag).c_str (), n, name);
}