Commit Graph

13 Commits

Author SHA1 Message Date
Carlos Alberto Enciso
041cbcb69b These changes cover the following areas:
1) Improve the '-S' option algorithm, to get indirect names, from
   DW_AT_specification and DW_AT_abstract_origin attributes, to use
   those names in the comparison for member and inlines functions.
2) Correct incorrect calculation of 'pointer_size' for proprietary
   EM_PPC64 machine type.
3) Changes required when porting the samples to Windows
4) Include additional information for the Windows version.
2015-06-15 10:41:47 +01:00
David Anderson
c02096a5d8 These files no longer reference dwarfdump2.
BLD
BLDLIBDWARF
BLDTESTDIR
CREATINGARELEASE
Makefile.in
README
UPDATEDWARFDUMPVERSION.sh
configure (regenerated)
configure.in
dwarfdump2/NEWS

This adds improved error reporting in case
of major libdwarf error.
dwarfgen/createirepfrombinary.cc

These are not normally used, but they
enable simple tests of the malloc-fail case.
dwarfgen/TESTmallocfail
dwarfgen/fakemalloc.c

These implement and document new handling
of malloc-space-exhausted special case
for Dwarf_Error.  Using a global.
This has no effect on any client code,
it just enables sensible reports (from libdwarf)
in case the malloc arena exhausted.
libdwarf/dwarf_alloc.c
libdwarf/dwarf_error.c
libdwarf/dwarf_error.h
libdwarf/libdwarf.h.in

Document malloc-fail special case
error handling.
libdwarf/libdwarf2.1.mm

Regenerated: v 2.23 libdwarf/libdwarf2.1.pdf
2014-12-28 10:03:42 -08:00
David Anderson
affafa89fb Removed trailing (and useless) whitespace from all the lines
containing it.  Many many files had such.
2014-01-29 15:02:07 -08:00
David Anderson
348e4ddf96 gennames: deleted include of elf.h, it was not needed because
gelf.h is included. Five dwarfgen files.
2014-01-10 08:42:40 -08:00
David Anderson
3f82477dae Added dwarf_add_AT_reference_b() and dwarf_fixup_AT_reference_die()
and dwarf_add_AT_with_ref_sig8() to libdwarf producer function list.
Documented the new functions in libdwarf2p.1.mm.
If we already have a DW_AT_sibling attribute we take care not
to add a second one.

dwarfgen now supports some 'class reference' forms (local references
and sig8 references, not yet global references).
Fixed dealloc for dwarf_get_pubtypes to avoid duplicate free.
2013-11-01 05:28:10 -07:00
David Anderson
f60347456e libdwarf: adding support to write .debug_pubtypes
and adding an error code now used by the producer.
dwarfdump: adding support to print .debug_pubtypes
dwarfgen: adding support to read and write .debug_pubnames
and .debug_pubtypes.
2013-10-17 14:37:01 -07:00
David Anderson
beaa109d72 The dwarfgen copyright changed to BSD3 form.
libdwarf and dwarfdump copyrights are unchanged.
2013-10-14 16:36:37 -07:00
David Anderson
d88ca0746c libdwarf: the functions dwarf_whatform and dwarf_whatform_direct
are really misnamed. Now libdwarf2.1.mm exposes the real meaning
and libdwarf2.1.mm (in commentary) does too.
dwarfgen has fixes so it builds 64bit.
Omissions in dwarfgen which were not processing FORMs right
are corrected.
2013-02-01 08:27:47 -08:00
David Anderson
22cc16439d Update copyright year on a large number of files.
Everthing touched recently.
2012-11-17 13:31:29 -08:00
David Anderson
e3d4ba658f dwarfgen/createirepfrombinary.cc
Fixed a horrible typo that should never have
been committed.
2012-11-14 13:04:11 -08:00
David Anderson
1af3142cda Adds creation of a .debug_line section from dwarfgen. 2011-12-13 09:53:49 -08:00
David Anderson
c0e16a28d8 Fixes the intentation in dwarfgen to match the 4-character
indent that is the libdwarf/dwarfdump standard.
Updates the dwarfgen copyright year.
2011-04-23 10:32:03 -07:00
David Anderson
637442ea0b Initial commit. Content is the libdwarf-20110113.tar.gz
last-released-libdwarf and dwarfdump.
2011-03-19 11:38:11 -07:00