if the gcc '__attribute__ ((name))' compiles ok.
* config.h.in, configure: Regenerated.
* libdwarfdefs.h: Test HAVE_UNUSED_ATTRIBUTE and define
UNUSEDARG appropriately.
* dwarf_alloc.c,dwarf_elf_access.c,dwarf_form.c,dwarf_frame2.c,
dwarf_gdbindex.c,dwarf_global.c,dwarf_init_finish.c,dwarf_line.c,
dwarf_line_table_reader_common.c,dwarf_macro5.c,
dwarf_original_elf_init.c,dwarf_print_lines.c,dwarf_ranges.c,
dwarf_tsearchhash.c,dwarf_util.c,dwarf_xu_index.c,
pro_alloc.c,pro_frame.c,pro_init.c,pro_reloc.c,
pro_reloc_stream.c,pro_section.c: Use UNUSEDARG to suppress
meaningless unused-parameter warnings from gcc.
fdes were not printing properly.
We were testing the wrong thing to determine if
we should print.
dwarfdump/print_frames.c
The code for frames was basically ok.
But clearer now with better comments for eh_frame.
And clearer 'no entry' for fde augmentation bytes.
libdwarf/dwarf_frame.c
libdwarf/dwarf_frame.h
libdwarf/dwarf_frame2.c
and removing un-needed casts.
Fixing commentary about CIE_id
libdwarf/dwarf_frame2.c
Fixing signed/unsigned comparison.
libdwarf/dwarf_loc2.c
Removing ; after function definition as not
being proper C90/C90
libdwarf/pro_init.c
And new checks for wasted space made.
dwarfdump/dwarfdump.c
dwarfdump/globals.h
dwarfdump/macrocheck.c
dwarfdump/macrocheck.h
dwarfdump/print_die.c
dwarfdump/print_macros.c
# By David Anderson
# Via David Anderson
* master:
Update version string dwarfdump/common.c dwarfdump/dwarfdump.c
Added a proper tsearch find for the dieoffset that will reveal signedness (which we found earier).
Update version string dwarfdump/common.c dwarfdump/dwarfdump.c
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/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
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
* master:
Add additional flags to the --enable-wall option. dwarfdump/configure.in libdwarf/configure.in
These small changes fix compiler warnings. tsearch/dwarf_tsearchbal.c tsearch/dwarf_tsearchhash.c
Had a horrible */* see dwarf_get_macro_context_by_offset()
ChangeLog (fixed the year. This is 2016)
libdwarf: Adding dwarf_die_text() as a more general function to get the string from a string-value DIE. dwarf_query.c libdwarf.h.in libdwarf2.1.mm libdwarf2.1.pdf
Better compiler checking with --enable-wall.. Now all with prototypes. Local functions now declared static. One crucial bug in macrocheck.c in calling dwarf_twalk fixed. dwarfdump/configure dwarfdump/configure.in dwarfdump/dwarf_tsearchbal.c delete unused function dwarfdump/dwarfdump.c dwarfdump/dwconf.c dwarfdump/dwgetopt.c dwarfdump/globals.h dwarfdump/macrocheck.c dwarfdump/naming.c dwarfdump/print_gdbindex.c dwarfdump/tag_attr.c dwarfdump/tag_common.c
Conflicts:
dwarfdump/ChangeLog
dwarfdump/configure
dwarfdump/configure.in
dwarfdump/macrocheck.c
libdwarf/ChangeLog
libdwarf/configure
libdwarf/configure.in
* macrocheck.c: Remove trailing whitespace.
* print_lines.c: Only print line context record
if we do_print_dwarf is non-zero. The directory index
was printing as 0 in the line_context record. Was a typo
in the printf, now fixed.
Now all with prototypes.
Local functions now declared static.
One crucial bug in macrocheck.c in calling dwarf_twalk fixed.
dwarfdump/configure
dwarfdump/configure.in
dwarfdump/dwarf_tsearchbal.c delete unused function
dwarfdump/dwarfdump.c
dwarfdump/dwconf.c
dwarfdump/dwgetopt.c
dwarfdump/globals.h
dwarfdump/macrocheck.c
dwarfdump/naming.c
dwarfdump/print_gdbindex.c
dwarfdump/tag_attr.c
dwarfdump/tag_common.c
Better compiler checking with --enable-wall..
Now all with prototypes.
Local functions now declared static.
Some old and new functions documented in mm.
libdwarf/Makefile.in
libdwarf/configure
libdwarf/configure.in
libdwarf/dwarf_macro5.c
libdwarf/dwarf_original_elf_init.c
libdwarf/dwarf_query.c
libdwarf/dwarf_stubs.c
libdwarf/dwarf_util.c
libdwarf/dwgetopt.c
libdwarf/libdwarf.h.in
libdwarf/libdwarf2.1.mm
libdwarf/libdwarf2.1.pdf Regenerated. V 2.39
libdwarf/pro_alloc.c
libdwarf/pro_alloc.h
delete unused function.
tsearch/dwarf_tsearchbal.c
files:
# By David Anderson
# Via David Anderson
* master:
Remove ;; where it was just an accident. Make header reading idempotent with ifndef/define dwarfdump/dwarfdump.c dwarfdump/esb.c (avoid doing append of empty string). dwarfdump/esb.h dwarfdump/globals.h dwarfdump/naming.h dwarfdump/print_frames.c dwarfdump/print_lines.c
Fix indentation and remove trailing whitespace. dwarfdump/ChangeLog dwarfdump/print_frames.c libdwarf/ChangeLog libdwarf/dwarf_form.c libdwarf/dwarf_frame2.c
Some statements had trailing ;; Removed second semicolon. dwarfdump/print_die.c dwarfdump/tag_tree.c
* libdwarf.h.in, dwarf_error.c: New error numbers. DW_DLE_LINE_STRP_OFFSET_BAD, DW_DLE_STRING_FORM_IMPROPER. * dwarf_form.c: Added suport for DW_FORM_line_strp into dwarf_formstring().
Conflicts:
dwarfdump/esb.c
dwarfdump/esb.h
dwarfdump/globals.h
dwarfdump/naming.h
dwarfdump/print_frames.c
dwarfdump/print_lines.c
libdwarf/dwarf_form.c
libdwarf/dwarf_loc.c
libdwarf/dwarf_macro5.c
libdwarf/dwarf_query.c
libdwarf/dwarf_util.c
* Some C99-isms
* In the function 'esb_append', do nothing in the case of an empty string
* Include the C++ guard in esb.h, globals.h, naming.h
* The MSVC Compiler (2010) generates an error when the ';;' is found
after some declarations
* The MSVC Compiler (2010) generates an error when adding a 'void *'
* The 'errno' has already an incompatible definition
* The Windows build, uses the tsearch algorithm as a library; the selected
algorithm is controlled by a definition in the config.h. Also, instead
of including a specific tsearchXX.c, it includes a generic tsearch.c
* Created a generic function 'dwarf_die_text()' to get the attribute
value, when its value represents a string, such as DW_AT_name, etc
* For backwards compatibility, 'dwarf_diename()' calls 'dwarf_die_text()'
* libdwarf2.1.mm: Documented DWARF5 macro operations.
Version 2.38
* libdwarf2.1.pdf: Regenerated.
* libdwarf2p.1.pdf: Regenerated following a trivial
clarification on cie production made a couple days ago.
Added a (long) example of use of the important macro
interfaces.
modified: checkexamples.c
Fixed small botch in one macro declaration: forgot to comment
out the argument names.
modified: libdwarf.h.in
A beginning of documenting the new macro functions.
modified: libdwarf2.1.mm
(dwarf_add_frame_cie())
was simply assuming that the augmentation string passed in was
in stable storage. Now it uses strdup() to guarantee there
no surprises.
allocation strategy for abbrev_array. The bad abbrev will
be detected, just not right here in dwarfdump
unless doing checking.
print_abbrevs.c
Fix so we know the correct current_section_id
even after printing macros or lines.
print_die.c
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
Still no handling of macro import.
dwarfdump/dwarfdump.c
dwarfdump/print_lines.c
dwarfdump/print_macro.c
Fixing handling of DWARF5 macros.
libdwarf/dwarf_line.c
libdwarf/dwarf_macro5.c
libdwarf/dwarf_macro5.h
libdwarf/dwarf_opaque.h