Commit Graph

9 Commits

Author SHA1 Message Date
David Anderson
e9cf490520 * configure.in: defines HAVE_UNUSED_ATTRIBUTE
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.
2016-02-06 09:20:41 -08: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
9297b3032a Fixes a mistake in checking a offset in dwarf_die_deliv.c
The mistake resulted in an error-return on a really really
short .debug_types section where there
was no error.

Removes unused local variables.
Switches a couple struct members (in dwarf_opaque.h) from
Dwarf_Word to Dwarf_Unsigned.
2014-07-03 12:47:54 -07:00
David Anderson
c6a2ce4cc1 This is an incompatible source change to the
dwarf_producer_init() function.

The new interface is more extensible and allows for production
of DWARF versions post version 2 (such later versions are not
actually supported yet).  Uses of the producer interface have
to change their calls to dwarf_producer_init*() to match the
new interface.

Callers to the consumer (reader) interface are not
affected.

dwarfgen/dwarfgen.cc
libdwarf/dwarf.h
libdwarf/dwarf_error.c
libdwarf/libdwarf.h.in
libdwarf/libdwarf2p.1.mm
libdwarf/libdwarf2p.1.pdf
libdwarf/pro_forms.c
libdwarf/pro_init.c
libdwarf/pro_opaque.h
libdwarf/pro_reloc.c
libdwarf/pro_reloc_stream.c
libdwarf/pro_reloc_symbolic.c
libdwarf/pro_section.c
libdwarf/pro_util.h
2014-05-09 10:55:11 -07:00
David Anderson
7351bb0ce7 Removing trailing whitespace. no logic change.
pro_forms.c
pro_frame.c
pro_funcs.c
pro_init.c
pro_line.c
pro_macinfo.c
pro_pubnames.c
pro_reloc.c
pro_reloc_stream.c
pro_reloc_symbolic.c
2013-12-26 16:02:18 -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
98307d518c libdwarf now implements a new dwarf_producer_init_c() interface
and its callback function.   It is documented in libdwarf/libdwarf2p.1.mm.
Date stamps are updated in both dwarfdumps even though there was no
reader code change.
2011-06-12 17:20:07 -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