Commit Graph

23 Commits

Author SHA1 Message Date
David Anderson
eb1472afac New bugr reports.
bugxml/data.txt

Now prints strings so that
control characters do not
cause problems. Easier to read too.
dwarfdump/Makefile.in
dwarfdump/NEWS
dwarfdump/dwarfdump.1
dwarfdump/dwarfdump.c
dwarfdump/globals.h
dwarfdump/print_die.c
dwarfdump/print_frames.c
dwarfdump/print_lines.c
dwarfdump/print_macro.c
dwarfdump/print_macros.c
dwarfdump/sanitized.c

Removed trailing whitespace.
dwarfexample/simplereader.c

New checking for corrupt input.
libdwarf/dwarf_errmsg_list.c
libdwarf/dwarf_form.c
libdwarf/dwarf_line.c
libdwarf/dwarf_opaque.h
libdwarf/dwarf_query.c
libdwarf/dwarf_util.h
libdwarf/libdwarf.h.in
2016-05-06 08:26:36 -07:00
Carlos Alberto Enciso
720e94b7db Use the _WIN32 macro to identify a WINDOWS specific code.
The macro is automatically defined by the VS C/C++ compiler.
2016-04-21 09:47:04 +01:00
Carlos Alberto Enciso
2edcdc67a4 Minor cosmetic changes. No code changes.
Update release date
dwarfdump/common.c

Incorrect change year
dwarfexample/ChangeLog
2016-03-15 13:41:57 +00:00
David Anderson
67e007a29c Fixed compiler warnings (--enable-wall)
dwarfexample/frame1.c

Added new options for test coverage.
dwarfexample/simplereader.c

Notes about changes new this year.
libdwarf/NEWS

Better words about error handling.
libdwarf/dwarf_error.c
libdwarf/libdwarf2.1.mm
libdwarf/libdwarf2.1.pdf
2016-03-14 14:19:58 -07:00
David Anderson
93ee5b2311 simplereader.c: --simpleerrhand flag
lets us test an error handler
        when combined with --passnullerror.
        Fixed various warnings exposed by
        configure --enable-wall.
2016-03-14 08:12:18 -07:00
David Anderson
3f9c12e062 Add a new option to simplereader
(for testing libdwarf it's no longer so simple).
Support configure --enable-wall.
dwarfexample/Makefile.in
dwarfexample/configure
dwarfexample/configure.in
dwarfexample/simplereader.c

Now works with DW_FORM_GNU_strp_alt and DW_FORM_strp_sup
(as well as it can) even if there is no error argument passed
in to dwarf_formstring (and now dwarf_diename()
and dwarf_die_text() call dwarf_formstring() so all
types of string values are handled).
libdwarf/dwarf_form.c
libdwarf/dwarf_query.c
2016-03-14 07:07:12 -07:00
David Anderson
37d0ff1235 Now we allow --enabled-shared and --disable-nonshared
at the top level and all lower levels.

README
configure
configure.in
dwarfdump/Makefile.in
dwarfdump/configure
dwarfdump/configure.in
dwarfexample/configure
dwarfexample/configure.in
dwarfgen/configure
dwarfgen/configure.in
libdwarf/ChangeLog
2015-12-31 13:51:31 -08:00
David Anderson
940b561d3a Updated dwarfdump version string.
Updated all the configure scripts to support zlib and
reading compressed .zdebug_ DWARF sections.

All works fine without zlib (though reading .zdebug sections
not possible without zlib).

A few lines of code and some internal-to-libdwarf structs
change slightly for .zedebug support.  There is  no
change to public interfaces.
2015-11-26 08:27:17 -08:00
David Anderson
3d8b28ac8a Forgot to commit this earlier: new file.
dwarfexample/config.h.in
2015-11-15 10:17:15 -08:00
David Anderson
398c18eb13 Now allows build separate from source.
NEWS
README
configure
configure.in

Now allows build separate from source.
dwarfdump/ChangeLog
dwarfdump/Makefile.in
dwarfexample/Makefile.in

Now uses configure and allows
build separate from source.
dwarfexample/configure
dwarfexample/configure.in
dwarfgen/Makefile.in

Now allows build separate from source.
libdwarf/Makefile.in
libdwarf/configure
libdwarf/configure.in
2015-11-15 10:14:01 -08:00
David Anderson
c1b5163ba4 Delete dwarfexample/Makefile, we will have a configure
shortly.
2015-11-15 08:39:13 -08:00
David Anderson
32e5e2998c Fixed indentation and trailing whitespace.
dwarfdump/print_die.c
dwarfdump/print_lines.c
dwarfexample/simplereader.c
tsearch/dwarf_tsearchred.c
2015-09-22 14:06:18 -07:00
David Anderson
07bf8033af Merge branch 'carlos_enciso' into carlos15
Conflicts:
	dwarfdump/ChangeLog
	dwarfdump/common.c
	dwarfdump/print_die.c
	dwarfexample/ChangeLog
	dwarfgen/ChangeLog
	libdwarf/ChangeLog
	libdwarf/dwarf_form.c
	libdwarf/dwarf_xu_index.c
	libdwarf/dwgetopt.h
2015-09-15 09:56:07 -07:00
David Anderson
11f96bbaa5 dwarfexample/frame1.c
Adding comments and printf so users may think
of dwarf_get_fde_list_eh().
2015-06-19 19:46:47 -07:00
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
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
2e645452db Update the ChangeLog for the start of 2015. 2015-01-01 11:35:18 -08:00
David Anderson
5211b541d2 Final small changes for a new release.
Ensuring it builds where it should.
2014-02-01 08:06:09 -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
b306dba9e5 dwarfexample/Makefile: changed -gdwarf-4 to -g
libdwarf/pro_expr.c,libdwarf/pro_forms.c: Fixed two pointer
used-before-null-test bugs found by the STACK tool from MIT.
2013-11-24 13:28:11 -08:00
David Anderson
d522c98f03 dwarfdump[2]: commentary and indenting fixes (very few).
dwarfexample: Adds a --check option to show in detail
     when the DW_AT_high_pc is a constant vs offset,
     at least for subprograms.
dwarfgen: Now handles class constant (writes to output)
     and fixes missing handling of DW_FORM_data4/8 in
     global references.
     Adds -h option telling dwarfgen to alter a high pc
     from address class to const class (and adjusts
     the value appropriately).  So we can create
     testcases without having a too-recent compiler.
libdwarf: Fix an error no one should ever see (programmer
     failed to run a simple test!) so it returns DW_DLV_ERROR
     in case it happens.
     Add dwarf_highpc_b() function to consumer code.
     dwarf_add_AT_any_value_sleb() and  dwarf_add_AT_any_value_uleb()
     to producer code.
     Update libdwarf2.1.mm and libdwarf2p.1.mm to reflect the
     new functions.
2013-08-14 08:15:02 -07:00
David Anderson
6b989c1e4f Altered indents to multiples of 4 spaces, no tabs,
in the dwarfexample directory.
2011-06-05 07:32:06 -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