* dwarf_init_finish.c: Fix indents. remove a trailing space.
* dwarf_tsearch.h,dwarf_tsearchhash.c: Now DW_TSHASHTYPE (if not defined
otherwise) defines the type returned by the hash function
used in tsearchhash.
* pro_alloc.c: Removed trailing whitespace.
tsearch:
* RUNTEST: the script had a couple of problems (typos). Fixed.
Added comments about running the tests.
* dwarf_tsearch.h: Provide a default DW_TSHASHTYPE
for tsearchhash and use DW_TSHASHTYPE.
* dwarf_tsearchbal.c,dwarf_tsearchbin.c,dwarf_tsearchepp.c,
dwarf_tsearchred.c: Use DW_TSHASHTYPE.
* dwarf_tsearchhash.c: use DW_TSHASHTYPE, add UNUSEDARG use.
Now the primes list starts at 79, not 5 (the low numbers
were really only for basic testing). Add UNUSEDARG
though it is defined as empty here (it is for gcc
to suppress some warnings).
* tsearch_tester.c: Use DW_TSHASHTYPE. Changed one
error message to help match with input test files.
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.
output of dwarfdump/print_gdbindex.c.
dwarfdump2/print_gdbindex.cc
Adds dwarfgen: to messages. adds try-catch to better deal
with out-of-malloc-space.
dwarfgen/dwarfgen.cc
Adds a few instances of setting error code correctly.
libdwarf/dwarf_elf_access.c
Found a place where NULL not tested for.
Now it is, so out-of-malloc-space won't
generate instant coredump, but will
return NULL.
libdwarf/dwarf_tsearchhash.c
tsearch/dwarf_tsearchhash.c
tsearch/dwarf_tsearchred.c
to print better. And get some section names to
come out exactly right (but not all, yet).
dwarfdump/dwarfdump.1
dwarfdump/dwarfdump.c
dwarfdump/print_gdbindex.c
dwarfdump2/dwarfdump.1
dwarfdump2/dwarfdump.cc
dwarfdump2/print_debugfission.cc
dwarfdump2/print_die.cc
dwarfdump2/print_gdbindex.cc
Here we fix some warnings.
libdwarf/dwarf_alloc.c
libdwarf/dwarf_alloc.h
libdwarf/dwarf_gdbindex.c
libdwarf/dwarf_loc.c
libdwarf/dwarf_query.c
libdwarf/dwarf_sort_line.c
Here we fix some warnings.
libdwarf/dwarf_tsearchhash.c
tsearch/dwarf_tsearchhash.c
Here we fix some warnings
libdwarf/dwarf_util.c
libdwarf/libdwarf.h.in
libdwarf/pro_alloc.c
libdwarf/pro_arange.c
libdwarf/pro_forms.c
libdwarf/pro_reloc.c
libdwarf/pro_types.c
dwarf_tsearch implementation.
Fixed a small memory curruption in dwarfdump2/print_pubnames.cc
Added tsearch directory with various sorts of tree searches
(all written from scratch, not copied from anywhere).