Commit Graph

13 Commits

Author SHA1 Message Date
David Anderson
76b6fb5846 Remove duplicative print of error number.
dwarfdump/dwarfdump.c

Ensure dependency on dwarf_errmsg_list.c
libdwarf/Makefile.in

Do much much more testing to ensure we do not
run off the end of section or accept a bogus
leb number.
libdwarf/dwarf_abbrev.c
libdwarf/dwarf_die_deliv.c
libdwarf/dwarf_errmsg_list.c
libdwarf/dwarf_frame.c
libdwarf/dwarf_frame.h
libdwarf/dwarf_frame2.c
libdwarf/dwarf_frame3.c
libdwarf/dwarf_leb.c
libdwarf/dwarf_line.c
libdwarf/dwarf_line.h
libdwarf/dwarf_line_table_reader_common.c
libdwarf/dwarf_opaque.h
libdwarf/dwarf_query.c
libdwarf/dwarf_util.c
libdwarf/dwarf_util.h
libdwarf/libdwarf.h.in
2016-04-27 13:00:06 -07:00
David Anderson
0a5438abb4 Improved reporting of abbreviations
dwarfdump/print_abbrevs.c
dwarfdump/print_die.c

libdwarf/dwarf_abbrev.c
libdwarf/dwarf_abbrev.h
libdwarf/dwarf_die_deliv.c
libdwarf/dwarf_die_deliv.h
libdwarf/dwarf_query.c
libdwarf/dwarf_util.c
libdwarf/libdwarf.h.in
libdwarf/libdwarf2.1.mm
libdwarf/libdwarf2.1.pdf
2016-03-12 17:07:20 -08:00
David Anderson
2d92dd4d6d Improving the print of constant types by trying to figure out
signedness.  Now prints the 'as signed' value as (-1)
for example instead of (as signed = -1) when signedness
is not clear.

dwarfdump/Makefile.in
dwarfdump/dwarfdump.c
dwarfdump/helpertree.c
dwarfdump/helpertree.h
dwarfdump/print_die.c

Remove a blank line.
libdwarf/dwarf_abbrev.c
add a check for
libdwarf/dwarf_macro5.c
2016-01-26 17:45:09 -08:00
David Anderson
da724a0bc5 Now check FORM codes in abbrevs for sensible values.
Error off if invalid.
dwarf_abbrev.c
dwarf_die_deliv.c
dwarf_error.c
dwarf_opaque.h
dwarf_query.c
dwarf_util.c
dwarf_util.h
libdwarf.h.in
2015-12-08 10:46:23 -08:00
David Anderson
8857cf5fea Now supports experimental two-level line tables,
though -vvv -l (printing internal details) does not
yet work.
Some dead variables deleted and indent mistakes fixed too.
dwarfdump/common.c
dwarfdump/dwarfdump.c
dwarfdump/print_lines.c
libdwarf/dw-linetableheader.txt
libdwarf/dwarf_abbrev.c
libdwarf/dwarf_die_deliv.c
libdwarf/dwarf_form.c
libdwarf/dwarf_init_finish.c
libdwarf/dwarf_line.c
libdwarf/dwarf_loc.c
libdwarf/dwarf_macro.c
libdwarf/dwarf_query.c
libdwarf/dwarf_tied.c
libdwarf/dwarf_xu_index.c
2015-09-23 13:08:30 -07:00
David Anderson
059395fa7a Implementing DWARF5 (and DWARF4 as an extension) DWP Package
File support.
dwarfdump/print_die.c
dwarfexample/simplereader.c
libdwarf/NEWS
libdwarf/dwarf_abbrev.c
libdwarf/dwarf_die_deliv.c
libdwarf/dwarf_form.c
libdwarf/dwarf_opaque.h
libdwarf/dwarf_util.c
libdwarf/dwarf_xu_index.c
libdwarf/libdwarf.h.in
libdwarf/libdwarf2.1.mm
libdwarf/libdwarf2.1.pdf
2015-05-06 10:55:32 -07:00
David Anderson
c665613423 libdwarf: major changes to support DWP Package Files
in DWARF5.   Some support of DWARF5 generally.

DWP support itself not well tested, but for non-DWP
objects things work as before.
2015-05-01 17:10:42 -07:00
David Anderson
2d88cea086 libdwarf: Complete the removal of obsolete SGI postal address and
oss.sgi.com from copyright notices.
libdwarf/LIBDWARFCOPYRIGHT has an original example of copyright
and explains the change.
2015-01-31 10:09:02 -08:00
David Anderson
b6ea605c1e Changes to support debugfission added, so we can
dump dwarf from .dwp files.
Some additional change an testing will be added.
2015-01-18 12:48:41 -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
3a9c9c61cd Adds aarch64 support to libdwarf.
Fixes some compiler warnings about re-use of names
in local contexts.
Trivially updates libdwarf2.1.mm and pdf about
dwarf_highpc().
2013-07-28 16:56:10 -07:00
David Anderson
a3eb288589 All the files changed, a massive correction to inconsistent
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.
2011-03-29 13:31:47 -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