Commit Graph

16 Commits

Author SHA1 Message Date
David Anderson
8f0690dae1 Improve the output with respect to things tested.
More like other configure setups.
dwarfdump/configure.in

Regenerate.
dwarfdump/configure

Fix spelling mistakes, and an erroneous . in column 1.
dwarfdump/dwarfdump.1

CFLAGS is no on HOST_CFLAGS.
libdwarf/Makefile.in

Improve the output with respect to things tested.
More like other configure setups.
libdwarf/configure.in

Regenerate.
libdwarf/configure
2016-05-19 13:47:52 -07:00
David Anderson
5654c549d1 Changed a couple [] to [ ]
as apparently cross-compiling fails with []

dwarfdump/configure.in
dwarfdump/configure Regenerated
libdwarf/configure.in
libdwarf/configure Regenerated
2016-02-14 08:28:44 -08:00
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
e9cf490520 * configure.in: defines HAVE_UNUSED_ATTRIBUTE
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.
2016-02-06 09:20:41 -08:00
David Anderson
d9d40e4d80 Add additional flags to the --enable-wall option.
dwarfdump/configure.in
libdwarf/configure.in

dwarfdump/configure (regenerate)
libdwarf/configure (regenerate)

These fix compiler warnings
dwarfdump/dwarf_tsearchbal.c
dwarfdump/dwarfdump.c
dwarfdump/dwconf.c
dwarfdump/dwconf.h
dwarfdump/esb.c
dwarfdump/globals.h
dwarfdump/print_debugfission.c
dwarfdump/print_die.c
dwarfdump/print_frames.c
dwarfdump/print_sections.c

libdwarf/dwarf_die_deliv.c
libdwarf/dwarf_frame.c
libdwarf/dwarf_frame2.c
libdwarf/dwarf_gdbindex.c
libdwarf/dwarf_gdbindex.h
libdwarf/dwarf_line.c
libdwarf/dwarf_line.h
libdwarf/dwarf_line_table_reader_common.c
libdwarf/dwarf_macro5.c
libdwarf/dwarf_query.c
libdwarf/dwarf_tsearchhash.c
2016-01-21 15:42:58 -08:00
David Anderson
3e442d6a40 Better compiler checking with --enable-wall..
Now all with prototypes.
Local functions now declared static.
One crucial bug in macrocheck.c in calling dwarf_twalk fixed.
dwarfdump/configure
dwarfdump/configure.in
dwarfdump/dwarf_tsearchbal.c delete unused function
dwarfdump/dwarfdump.c
dwarfdump/dwconf.c
dwarfdump/dwgetopt.c
dwarfdump/globals.h
dwarfdump/macrocheck.c
dwarfdump/naming.c
dwarfdump/print_gdbindex.c
dwarfdump/tag_attr.c
dwarfdump/tag_common.c

Better compiler checking with --enable-wall..
Now all with prototypes.
Local functions now declared static.
Some old and new functions documented in mm.
libdwarf/Makefile.in
libdwarf/configure
libdwarf/configure.in
libdwarf/dwarf_macro5.c
libdwarf/dwarf_original_elf_init.c
libdwarf/dwarf_query.c
libdwarf/dwarf_stubs.c
libdwarf/dwarf_util.c
libdwarf/dwgetopt.c
libdwarf/libdwarf.h.in
libdwarf/libdwarf2.1.mm
libdwarf/libdwarf2.1.pdf Regenerated. V 2.39
libdwarf/pro_alloc.c
libdwarf/pro_alloc.h

delete unused function.
tsearch/dwarf_tsearchbal.c

files:
2016-01-20 10:32:39 -08:00
David Anderson
940b561d3a Updated dwarfdump version string.
Updated all the configure scripts to support zlib and
reading compressed .zdebug_ DWARF sections.

All works fine without zlib (though reading .zdebug sections
not possible without zlib).

A few lines of code and some internal-to-libdwarf structs
change slightly for .zedebug support.  There is  no
change to public interfaces.
2015-11-26 08:27:17 -08:00
David Anderson
398c18eb13 Now allows build separate from source.
NEWS
README
configure
configure.in

Now allows build separate from source.
dwarfdump/ChangeLog
dwarfdump/Makefile.in
dwarfexample/Makefile.in

Now uses configure and allows
build separate from source.
dwarfexample/configure
dwarfexample/configure.in
dwarfgen/Makefile.in

Now allows build separate from source.
libdwarf/Makefile.in
libdwarf/configure
libdwarf/configure.in
2015-11-15 10:14:01 -08:00
David Anderson
aedc235499 dwarfdump/configure
dwarfdump/configure.in
dwarfdump/print_frames.c

* configure.in: Add -O0 to  --enable-wall.
       So if a coredump during debugging gdb will work really well.
* configure: Regenerated.
* print_frames.c: Ommitted a 'return' statement so
       some output duplicated. Added in the missing return.

libdwarf/configure
libdwarf/configure.in
* configure.in: Added -O0 to --enable-wall.
       So if a coredump while debugging gdb will work well.
* configure: Regenerated.
2015-11-01 09:13:33 -08:00
David Anderson
c20ba5c31a Fixing errors from refactoring the location expression operation
reader.

Add a new configure option --enable-wall (regenerate configure).
Revise the interfaces for the not-implemented new
location expression and loclist interfaces.

dwarfdump/print_die.c

libdwarf/Makefile.in
libdwarf/configure
libdwarf/configure.in
libdwarf/dwarf_error.c
libdwarf/dwarf_loc.c
libdwarf/dwarf_loc.h
libdwarf/libdwarf.h.in
2015-10-26 16:20:31 -07:00
David Anderson
5211b541d2 Final small changes for a new release.
Ensuring it builds where it should.
2014-02-01 08:06:09 -08:00
David Anderson
e2c685408c Now configure handles struct _Elf as well as struct Elf
and it writes libdwarf.h (libdwarf.h.in is the same as
libdwarf.h in most cases).
2013-01-30 11:51:30 -08:00
David Anderson
791398ca4d Makes it easier to build under FreeBSD.
Fixes signed/unsigned comparison issues noted by -Wsign-compare
2013-01-16 15:51:41 -08:00
David Anderson
bac6b0e641 libdwarf/dwarf_frame.c: Fixed indents.
config.h.in, configure.in now use a configure-time dependency
on HAVE_STDAFX_H rather than the older built-in ifdef.
So folks using mingw have an easier time.
2011-09-08 17:24:47 -07:00
David Anderson
6d0eafd1a6 When building shared libdwarf (libdwarf.so) the compile flags
CFLAGS get -fPIC added.
2011-09-02 15:05:26 -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