Commit Graph

3 Commits

Author SHA1 Message Date
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
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