Commit Graph

6 Commits

Author SHA1 Message Date
David Anderson
08efeebcf3 Remove the unneccessary typedef for 'string'
and just use char*.

Ensure the getopt tests still work.

modified:   dwarfdump/dwarfdump.c
modified:   dwarfdump/dwgetopt.c
modified:   dwarfdump/esb.c
modified:   dwarfdump/esb.h
modified:   dwarfdump/getopttest.c
modified:   dwarfdump/globals.h
modified:   dwarfdump/print_die.c
modified:   dwarfdump/print_frames.c
modified:   dwarfdump/print_lines.c
modified:   dwarfdump/print_strings.c
modified:   dwarfdump/tag_attr.c
modified:   dwarfdump/tag_tree.c

Fixing errnumber->string array and arranging
that we test it during build.

modified:   libdwarf/Makefile.in
renamed:    libdwarf/dwarf_error.c -> libdwarf/dwarf_errmsg_list.c
modified:   libdwarf/dwarf_error.c
2016-04-25 13:01:30 -07:00
Carlos Alberto Enciso
042892150d Merge branch 'master' into 'carlos_enciso' 2016-01-21 10:18:22 +00: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
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
691fffe32b Fix bugs in dwgetopt and add much new getopt
testing.
2015-03-09 10:33:27 -07:00
David Anderson
46a28e7d5f Now getopt is hard coded (NetBSD BSD license) in libdwarf
so we get consistent behavior.  Specifically allowing the
notion of :: in the option list.
Fixed issues with handling files with both .debug_types and
.debug_info (got spurious warnings with -ky -kd, for example)
on a .dwp object.
Corrected a couple places where we needed to reset a static
variable (renamed the static variable for readability and removed
it from the globals variables).
2015-01-24 16:28:25 -08:00