and its callback function. It is documented in libdwarf/libdwarf2p.1.mm.
Date stamps are updated in both dwarfdumps even though there was no
reader code change.
* dwarfdump.c: Refactor setting of do_print_dwarf
and do_check_dwarf into a function. Ensure that one of
the refactored new functions is called in every case
an option requires such call. Ensured indents ok.
* print_lines.c (print_line_numbers_this_cu): When not checking
added a check to insure we don't try to call a
checking-related function.
libdwarf
2011-06-07 DavidAnderson <davea42@earthlink.net>
* dwarf_elf_access.c: Added EM_QUALCOMM_DSP6
machine so that relocations work on a
Qualcomm relocatable object in the dwarf regressiontests.
* dwarf_util.c: Fixed indent problems added in previous
change.
* dwarf_util.c(_dwarf_get_abbrev_for_code): If there is no
section padding the code could read-from-memory
one past the end of the section
which could (in very rare circumstances) coredump
an application. In addition, earlier in the same funcion
we did not account for the case where we had already read to
end of section. Both fixed.
now handle DW_AT_data_member_location instead of erroring off.
Added a new query function into libdwarf.h and dwarf_query.c
and documented the function in libdwarf/libdwarf2.1.mm and regenerated
libdwarf/libdwarf2.1.pdf
* dwarf_arange.c,dwarf_elf_access.c, dwarf_frame3.c,
dwarf_funcs.c,dwarf_global.c,dwarf_init_finish.c,
dwarf_line.c,dwarf_loc.c,dwarf_macro.c,dwarf_print_lines.c,
dwarf_pubtypes.c,dwarf_query.c,dwarf_ranges.c,dwarf_string.c,
dwarf_types.c,dwarf_vars.c, dwarf_weaks.c: Everything loading
a section now checks the result for 'empty' and returns
DW_DLV_NO_ENTRY explicitly. This makes it easier to
do nothing safely when there is no data.
to unify some repeated code in into function calls. One of the
earlier inline-repetitions was coded wrong. Added {} to ensure clarity
on the intended scope a couple places. Added initializers to
a couple of local variables.
Fixed a tiny bug in libdwarf/pro_error.c (that you probably
never encountered or noticed). Updated 2 lines in
libdwarf/dwarf_frame.c that were indented badly.
indentation. No interfaces changed. One new and
not very significant (to most people) interface added which
returns a count of abbreviations in an abbreviation section.
Copyrights updated for 2011.