Commit Graph

15 Commits

Author SHA1 Message Date
David Anderson
4e8d8c0f10 Add local Dwarf_Error and
rename variables to avoid shadowing confusion.

dwarfdump/configure
dwarfdump/configure.in
dwarfdump/dwarf_tsearchbal.c
dwarfdump/dwarfdump.c
dwarfdump/globals.h
dwarfdump/print_abbrevs.c
dwarfdump/print_aranges.c
dwarfdump/print_debugfission.c
dwarfdump/print_die.c
dwarfdump/print_frames.c
dwarfdump/print_gdbindex.c
dwarfdump/print_lines.c
dwarfdump/print_pubnames.c
dwarfdump/print_ranges.c
dwarfdump/print_sections.c
dwarfdump/tag_attr.c
dwarfdump/tag_tree.c

Add local Dwarf_Error and
rename variables to avoid shadowing confusion.
Make cross-build a littl easier.

libdwarf/Makefile.in
libdwarf/README
libdwarf/common.c
libdwarf/common.h
libdwarf/configure
libdwarf/configure.in
libdwarf/dwarf_die_deliv.c
libdwarf/dwarf_frame2.c
libdwarf/dwarf_line.c
libdwarf/dwarf_line_table_reader_common.c
libdwarf/dwarf_macro5.c
libdwarf/dwarf_print_lines.c
libdwarf/dwarf_ranges.c
libdwarf/gennames.c
2016-02-13 08:37:24 -08:00
David Anderson
c13df9b5d5 Now use dwoptarg etc, not the standard optarg.
So we use the local version for everything.
libdwarf, dwarfdump,dwarfgen.
2015-07-12 17:10:29 -07:00
David Anderson
88fe6433c7 Now all getopt() calls use dwgetopt() instead
so all is easier for those without getopt() to build.
To avoid unwanted dependencies dwgetopt.h and dwgetopt.c
are in both dwarfdump and libdwarf directories.
2015-02-26 14:21:06 -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
5547cefffb Adds most of the DWARF5 names to dwarf.h 2015-01-30 10:43:47 -08:00
David Anderson
bf7eeb1c30 Just fixing trailing-whitespace and a pair of indent
issues in libdwarf.
2014-02-02 09:21:52 -08:00
David Anderson
a4a854003e libdwarf:
dwarf_print_lines.c,dwarf_macro.c: Remove trailing whitespace.
dwarf_ranges.c, dwarf_sort_lines.c: Remove trailing whitespace.
dwarf_query.c, dwarf_pubtypes.c: Remove trailing whitespace.
dwarf_original_elf_init.c,dwarf_loc.c: Remove trailing whitespace.
gennames.c: Fix a printf so the generated dwarf_names.c
        does not have a trailing space.
2014-01-10 16:21:01 -08:00
David Anderson
bb01f040f9 libdwarf: gcc -ansi found a // and needed getopt.h include
so those now fixed to support older environments (and newer).
2014-01-10 15:02:46 -08:00
David Anderson
a4878aebc0 libdwarf/gennames.c: Fixed a declaration vs statement ordering
problem.  We do not want c99-specific things in libdwarf C.
2014-01-10 14:45:21 -08:00
David Anderson
467bf794b0 libdwarf: gennames.c, added a comment about errno use.
Old ChangeLog renamed ChangeLog2013, new one named ChangeLog
2014-01-10 08:37:51 -08:00
David Anderson
769236150c Removed trailing whitespace. Two formatting
inconsistencies fixed (one each, two places).  No other change.
gennames.c
malloc_check.c
pro_alloc.c
pro_arange.c
pro_die.c
pro_encode_nm.c
pro_error.c
pro_expr.c
pro_finish.c
2014-01-01 18:04:45 -08:00
David Anderson
8af1c48a6a Now compiles close to clean with
-std=gnu90
-Wsystem-headers
-Wall  -Wsign-compare
-Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith
-Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign
2013-01-25 16:19:13 -08:00
David Anderson
e5e99e5b17 Move static array with changeable data into Dwarf_Debug struct,
fixing botch in 20121127 release.
Fix value returned (through argument) from dwarf_formflag().
Make some global data which is actually const as const.
2012-11-29 14:34:45 -08: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