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
because the default internal buffer size (240), was big enough
to receive the resulting output.
esb.c, esb.h:
* Missing prefix 'esb' for 'allocate_more'
* Initial buffer size reduced to 16.
* New function 'esb_open_null_device': open 'null' device
* New function 'esb_close_null_device': close 'null' device
* New function 'esb_allocate_more_if_needed': allocate more
space if required, leaving the contents unchanged, so the
caller, does not need to worry about it.
There are 2 cases:
Windows: use the 'null' device to get the required space
UNIX: use a big buffer (512). But if the result is bigger,
the original problem will be shown.
* The function 'esb_append_printf_ap', now takes care of
increasing the buffer if needed.
dwarfdump.c: In the case of windows, open and close the 'null'
device, in order to setup the esb module.
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).
Move one local variable declaration for c90 conformance.
dwarfdump/common.c
dwarfdump/dwarfdump.c
dwarfdump/esb.c
dwarfdump/tag_common.c
libdwarf/dwarf_init_finish.c
libdwarf/dwarf_util.c
dwarfexample: Adds a --check option to show in detail
when the DW_AT_high_pc is a constant vs offset,
at least for subprograms.
dwarfgen: Now handles class constant (writes to output)
and fixes missing handling of DW_FORM_data4/8 in
global references.
Adds -h option telling dwarfgen to alter a high pc
from address class to const class (and adjusts
the value appropriately). So we can create
testcases without having a too-recent compiler.
libdwarf: Fix an error no one should ever see (programmer
failed to run a simple test!) so it returns DW_DLV_ERROR
in case it happens.
Add dwarf_highpc_b() function to consumer code.
dwarf_add_AT_any_value_sleb() and dwarf_add_AT_any_value_uleb()
to producer code.
Update libdwarf2.1.mm and libdwarf2p.1.mm to reflect the
new functions.