Commit Graph

94 Commits

Author SHA1 Message Date
David Anderson
9247e66d14 Update version strings.
dwarfdump/common.c
dwarfdump/dwarfdump.c
2016-05-19 13:52:03 -07:00
David Anderson
b3c1706d48 Update version strings.
dwarfdump/common.c
dwarfdump/dwarfdump.c

Inserted local variable initialization-at-definition.
dwarfdump/print_frames.c

Notice frame data corruption and generate an error.
libdwarf/dwarf_errmsg_list.c
libdwarf/dwarf_frame.c
libdwarf/dwarf_frame.h
libdwarf/dwarf_frame2.c
libdwarf/dwarf_line.c
libdwarf/libdwarf.h.in
2016-05-07 13:50:17 -07:00
David Anderson
ae65ad36b0 update version string
dwarfdump/common.c
dwarfdump/dwarfdump.c
2016-04-30 13:04:41 -07:00
David Anderson
f01360225d Update version string.
dwarfdump/common.c
dwarfdump/dwarfdump.c

Add a new test that chatches an object
file with bad DWARF (corrupted DWARF).
libdwarf/dwarf_frame2.c
2016-04-27 18:25:41 -07:00
Carlos Alberto Enciso
57d0dafab6 For a WINDOWS version, display the 32/64 bits configuration. 2016-04-21 09:50:54 +01: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
ce158c52c5 dwarfdump:
* dwarfdump.c: Update version string. Added CU_low_address so
      CU_base_address is properly used only for the DWARF
      CU 'base address' notion. Print CU_low_address in PRINT_CU_INFO().
* common.c: Update version string
* globals.h: New macro DROP_ERROR_INSTANCE(d,r,e) improves consistency
      where we need to drop a Dwarf_Error instance.
* print_die.c: Support for CU_low_address. Use DROP_ERROR_INSTANCE
      where appropriate.
* print_frames.c: Use DROP_ERROR_INSTANCE
      where appropriate.
2016-03-07 16:41:11 -08:00
Carlos Alberto Enciso
e85fa29085 Merge branch 'master' into carlos_enciso
* master:
  Tighten up the checking-tree array sizes and add comments about setting those sizes. dwarfdump/tag_attr_ext.list dwarfdump/tag_common.h dwarfdump/tag_tree_ext.list
  Update version strings. Add some already known GNU extension tags to the lists.

Conflicts:
	dwarfdump/common.c
2016-02-18 07:51:26 +00:00
David Anderson
d5ea5660b8 Update version strings. Add some already known
GNU extension tags to the lists.
2016-02-16 16:51:24 -08:00
Carlos Alberto Enciso
40064bc7b7 * common.c: SN version uses an extra ID version
* tag_tree_ext.list, tag_attr_ext.list: Include support for variadic
    templates (GCC extension) DW_TAG_GNU_template_parameter_pack,
    DW_TAG_GNU_formal_parameter_pack. These extensions are
    generated by LLVM

* tag_tree.c: Incorrect generated comment

* tag_common.h: Update table size for new added tag/attr checks
2016-02-15 15:11:15 +00:00
David Anderson
c446254e5e Add support for SHF_COMPRESSED
libdwarf/README
libdwarf/dwarf_elf_access.c
libdwarf/dwarf_error.c
libdwarf/dwarf_init_finish.c
libdwarf/dwarf_opaque.h
libdwarf/libdwarf.h.in
libdwarf/libdwarfdefs.h
2016-02-10 09:05:27 -08:00
David Anderson
33dd0d8f3c update version string
dwarfdump/common.c
dwarfdump/dwarfdump.c

Document https://github.com/jrfonseca/drmingw/tree/master/src/mgwhelp
and include a little help for mingw users.
libdwarf/README
libdwarf/dwarf_init_finish.c
2016-02-07 06:36:42 -08:00
David Anderson
e0bf1f30f7 Update version strings.
dwarfdump/common.c
dwarfdump/dwarfdump.c
2016-02-06 14:42:44 -08:00
David Anderson
d76395da7d Merge branch 'unattr'
Conflicts:
	libdwarf/ChangeLog
2016-02-06 14:28:35 -08:00
David Anderson
9b1afa29c5 Update version string
dwarfdump/common.c
dwarfdump/dwarfdump.c

Now uses GOFF= almost uniformly in showning the cu-global
offset of DIEs. Reducing the size of some dwarfdump output
as a result.
dwarfdump/print_die.c
2016-01-28 20:43:05 -08:00
David Anderson
ead51f90ea Update version string
dwarfdump/common.c
dwarfdump/dwarfdump.c
2016-01-26 17:48:25 -08:00
David Anderson
2192c62b5c Additional checks for frame issues in bad objects.
Better reporting of such problems.

modified:   dwarfdump/common.c
modified:   dwarfdump/dwarfdump.c
modified:   dwarfdump/globals.h
modified:   dwarfdump/print_frames.c

modified:   libdwarf/dwarf_frame2.c
2016-01-17 18:53:01 -08:00
David Anderson
da57eb3c92 Fixed trailing whitespace
and improved checking of abbreviations.

dwarfdump:
common.c
dwarf_tsearchbal.c
dwarfdump.c
macrocheck.c
macrocheck.h
print_abbrevs.c
print_die.c
2016-01-14 14:54:30 -08:00
David Anderson
ecb75b7a03 Updating version strings.
dwarfdump/common.c
dwarfdump/dwarfdump.c
2016-01-12 11:55:26 -08:00
David Anderson
06cc0571a5 Small improvement in dwarfdump debug_macro printing (when no .debug_macro
section).
Improved dwarfdump PRINT_CU_INFO() so it works right and has
no side effect.
2015-12-16 08:06:29 -08:00
David Anderson
9f9545d63c New version string.
dwarfdump/common.c
dwarfdump/dwarfdump.c
Added metaware augmentation string handling.
dwarfdump/print_frames.c

Added DW_CFA_metaware and augmentation string "HC" handling.
libdwarf/dwarf.h
libdwarf/dwarf_frame.c
libdwarf/dwarf_frame.h
libdwarf/dwarf_frame2.c
libdwarf/dwarf_util.c
2015-12-08 17:24:33 -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
5a0bb4c7bc dwarfdump
* print_die.c: Fixed indents, removed trailing whitespace.
* dwarfdump.c, common.c: Update version string.

libdwarf
 * dwarf_alloc.c: Fixed indents, trailing whitespace.
 * dwarf_loc2.c: Fixed indents, trailing whitespace.
 * dwarf_form.c: Made too-long line into 2 lines.
 * dwarf_loc.h: Removed duplicate Dwarf_Loc_c_s etc declarations.
 * dwarf_util.c(_dwarf_error_mv_s_to_t),dwarf_util.h: New
       function to eliminate duplicative code.:
 * dwarf_query.c): Fix bug in dwarf_get_offset_size().
       Use new _dwarf_error_mv_s_to_t() to get error on correct dbg.
       Fixed indents, trailing whitespace.
 * dwarf_ranges.c: Use new _dwarf_error_mv_s_to_t()
       to get error on correct dbg.
       Fixed indents, trailing whitespace.
2015-11-08 10:26:49 -08:00
David Anderson
7eec6b060a Fixed memset call bug in reading prefix of line table.
Tweaked the detailed print of line table data (-l -vvv).
Fixed indent errors and removed trailing spaces.
2015-09-27 08:33:23 -07:00
David Anderson
a37ced05d4 Updated version strings.
dwarfdump/common.c
dwarfdump/dwarfdump.c

Sort of works for two-level line tables.
libdwarf/dwarf_print_lines.c
2015-09-26 09:01:55 -07:00
David Anderson
220378fa0b dwarfdump/common.c update date string.
dwarfdump/dwarfdump.c   update date string
dwarfdump/print_lines.c IA is really IS.

libdwarf/dwarf_elf_access.c: Added ifdef/define/endif for relocation types
   for better test coverage in FreeBSD and Ubuntu. That is, let it
   relocate objects without quite the required relocation names on
   the libdwarf/dwarfdump build system.
libdwarf/dwarf_line.c Fixed errors and omissions.
libdwarf/dwarf_line.h
2015-09-24 16:39:03 -07: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
aa1a11d1bf Updated dwarfdump version stamps. 2015-09-15 16:03:10 -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
8746d2e156 Updated dwarfdumpv version strings. 2015-09-13 16:08:57 -07:00
David Anderson
c5375c71ee Updated date string.
Now -x tied= shows in usage message.

dwarfdump/common.c
dwarfdump/dwarfdump.c
2015-09-12 15:04:58 -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
7bb29dff76 update version string.
dwarfdump/common.c
dwarfdump/dwarfdump.c
2015-05-07 08:44:21 -07:00
David Anderson
ec586ede9d Fixing dwgetopt.c. Added test cases for it.
Fixed a very few instances of trailing whitespace in
dwarfdump.
2015-03-10 09:02:41 -07:00
David Anderson
19a6063c59 Now libdwarf dwgetopt.c matches dwarfdump version.
We no longer do inappropriate checking of pc addrs
when a type_unit refers to the line table (there is
no low or high pc, so such checking would fail anyway).
2015-03-09 14:58:21 -07:00
David Anderson
99cf6e2d4e Minor updates to dwarfdump.
tag_attr.list (removing incorrect entries)
Updated version string.
2015-03-07 10:41:08 -08:00
David Anderson
b755b9f925 Added DWARF5 tags and attributes.
(the standard is not yet final, some of these additions could change).
Added checking code to fix libdwarf coredumps when it is given
erroneous DWARF.
2015-02-04 13:31:09 -08:00
David Anderson
ad33389a2c dwarfdump (not libdwarf): removed obsolete postal
address and web address about SGI.
Historical versions still shown in the
DWARFDUMPCOPYRIGHT file.
2015-01-31 09:42:29 -08:00
David Anderson
b004f18f43 Changing the hash return from the debugfission
from an integer to an 8 byte glob: Dwarf_Sig8
2015-01-31 09:03:03 -08:00
David Anderson
be85a0a4cb Adds support to printing .dwp DWARF5.
DebugFission.
On FreeBSD is still problematic option handling.
2015-01-21 15:08:30 -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
68ee12715f use of va_list requires stdarg.h, but that was not
everywhere it needed to be.
By accident, GNU libc hid that omission.
Also removed a couple unused variables and some
trailing whitespace.
2015-01-15 16:15:45 -08:00
David Anderson
037d4d0c79 Upate version string. Add va_end() appropriate places.
Move one local variable declaration for c90 conformance.
dwarfdump/common.c
dwarfdump/dwarfdump.c
dwarfdump/esb.c
dwarfdump/tag_common.c

libdwarf/dwarf_init_finish.c
libdwarf/dwarf_util.c
2015-01-12 13:39:58 -08:00
David Anderson
48ce8f38a1 Now the dwarfdump/ChangeLog and libdwarf/ChangeLog
list the actual changes made in the process of creating
the new checks and reports in dwarfdump.
2015-01-08 14:12:50 -08:00
David Anderson
e73b507d2e Avoid passing null dbg to dwarf_finish. Update version strings.
dwarfdump/common.c
dwarfdump/dwarfdump.c

Now avoids coredump if null DBG passed to dwarf_finish()
libdwarf/dwarf_original_elf_init.c
2015-01-05 11:44:02 -08:00
David Anderson
3ff5a4a024 Updated dwarfdump version strings.
Improved error checking in libdwarf.
2014-12-31 16:45:14 -08:00
David Anderson
c83587aed9 Updated version string.
common.c
dwarfdump.c
2014-12-28 10:13:01 -08:00
David Anderson
9354b1c961 Update dwarfdump[2] version strings. 2014-08-05 08:16:52 -07:00
David Anderson
f8417b2ac1 Now the dwo_id values print as hex.
Updated dwarfdump* version strings.
2014-05-20 08:10:41 -07:00