|
Packit |
cdaae3 |
2013-12-26 David Anderson
|
|
Packit |
cdaae3 |
* pro_section.c, pro_types.c, pro_vars.c, pro_weaks.c, pro_forms.c,
|
|
Packit |
cdaae3 |
pro_frame.c,pro_funcs.c,pro_init.c,pro_line.c,pro_macinfo.c,
|
|
Packit |
cdaae3 |
pro_pubnames.c,pro_reloc.c,pro_reloc_stream.c,pro_reloc_symbolic.c,
|
|
Packit |
cdaae3 |
pro_expr.h,pro_macinfo.h,pro_reloc.h,pro_reloc_stream.h,
|
|
Packit |
cdaae3 |
pro_reloc_symbolic.h,pro_section.h,pro_types.h,pro_util.h:
|
|
Packit |
cdaae3 |
Remove trailing whitespace from the code.
|
|
Packit |
cdaae3 |
2013-11-24 David Anderson
|
|
Packit |
cdaae3 |
* pro_expr.c(dwarf_add_expr_gen): Moved use of a pointer
|
|
Packit |
cdaae3 |
to be after where the pointer tested for NULL.
|
|
Packit |
cdaae3 |
* pro_forms.c(local_add_AT_address): Moved use of a pointer
|
|
Packit |
cdaae3 |
to be after where the pointer tested for NULL.
|
|
Packit |
cdaae3 |
Both bugs found by the STACK code analysis tool from MIT.
|
|
Packit |
cdaae3 |
2013-10-31 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_error.c: Added DW_DLE_AT_FIXUP_NULL and
|
|
Packit |
cdaae3 |
DW_DLE_AT_FIXUP_DUP.
|
|
Packit |
cdaae3 |
* libdwarf.h.in: Added those two defines plus dwarf_add_AT_reference_b()
|
|
Packit |
cdaae3 |
and dwarf_fixup_AT_reference_die() for CLASS REFERENCE attribute
|
|
Packit |
cdaae3 |
handling. Also, dwarf_add_AT_with_ref_sig8() for refsig8
|
|
Packit |
cdaae3 |
references.
|
|
Packit |
cdaae3 |
* libdwarf2p.1.mm: version 1.34 20 October. Document new interfaces.
|
|
Packit |
cdaae3 |
Fixed typo in dwarf_add_AT_targ_address_b() documentation.
|
|
Packit |
cdaae3 |
* libdwarf2p.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
* pro_die.c. Added commentary.
|
|
Packit |
cdaae3 |
* pro_forms.c: Added reference support with dwarf_add_AT_reference_b()
|
|
Packit |
cdaae3 |
and refactoring to avoid duplicating code.
|
|
Packit |
cdaae3 |
Added dwarf_add_AT_with_ref_sig8()
|
|
Packit |
cdaae3 |
* pro_section.c: now only adds DW_AT_sibling automatically
|
|
Packit |
cdaae3 |
if it was not present already. Still only adds it
|
|
Packit |
cdaae3 |
in the same automatically-selected places.
|
|
Packit |
cdaae3 |
Some renaming of local variables for clarity around line 1743.
|
|
Packit |
cdaae3 |
One line reformatted, it was looking very odd, line 2217.
|
|
Packit |
cdaae3 |
2013-10-17 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_error.c: Add DW_DLE_DEBUGPUBTYPES_ERROR string.
|
|
Packit |
cdaae3 |
* libdwarf.h.in: Add DW_DLE_DEBUGPUBTYPES_ERROR and fix
|
|
Packit |
cdaae3 |
DW_DLE_LAST. Add dwarf_add_pubtype() interface.
|
|
Packit |
cdaae3 |
* libdwarf2.1.mm: References to Dwarf_Pubtype changed
|
|
Packit |
cdaae3 |
to Dwarf_Type, using the same interface type
|
|
Packit |
cdaae3 |
as for .debug_types (an SGI extension). Now at rev 2.15.
|
|
Packit |
cdaae3 |
Clarified that pubnames and pubtypes only apply to
|
|
Packit |
cdaae3 |
.debug_info.
|
|
Packit |
cdaae3 |
* libdwarf2.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
* pro_opaque.h: Added DEBUG_PUBTYPES and updated
|
|
Packit |
cdaae3 |
NUM_DEBUG_SECTIONS.
|
|
Packit |
cdaae3 |
* pro_pubnames.c: Added dwarf_add_pubtype() support.
|
|
Packit |
cdaae3 |
* pro_section.c: Added support for pubtypes.
|
|
Packit |
cdaae3 |
2013-10-14 David Anderson
|
|
Packit |
cdaae3 |
* libdwarf.h.in: Dwarf_Callback_Func_c,
|
|
Packit |
cdaae3 |
Dwarf_Callback_Func_b and Dwarf_Callback_Func name argument
|
|
Packit |
cdaae3 |
was lacking a const qualifier leading to compiler warnings.
|
|
Packit |
cdaae3 |
Now has const qualifier.
|
|
Packit |
cdaae3 |
2013-08-15 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_alloc.c: Now uses dwarf_printf instead of printf.
|
|
Packit |
cdaae3 |
And frees the dwarf_printf dp_buffer if appropriate.
|
|
Packit |
cdaae3 |
* dwarf_line.c, dwarf_print_lines.c: Now use dwarf_printf
|
|
Packit |
cdaae3 |
instead of printf.
|
|
Packit |
cdaae3 |
* dwarf_line.c: Update copyright year.
|
|
Packit |
cdaae3 |
* dwarf_opaque.h: Add de_printf_callback to Dwarf_Debug struct.
|
|
Packit |
cdaae3 |
Add dwarf_printf to function prototypes.
|
|
Packit |
cdaae3 |
* dwarf_util.c: Implement dwarf_printf.
|
|
Packit |
cdaae3 |
* libdwarf.h.in: Now specifies struct Dwarf_Printf_Callback_Info_s and
|
|
Packit |
cdaae3 |
dwarf_register_printf_callback();
|
|
Packit |
cdaae3 |
* libdwarf2.1.mm: Version 2.14. Fixed three tables with too-long lines.
|
|
Packit |
cdaae3 |
Documented the new printf callback registration functions.
|
|
Packit |
cdaae3 |
* libdwarf2.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
2013-08-13 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_init_finish.c:
|
|
Packit |
cdaae3 |
* dwarf_query.c: Added dwarf_highpc_b() so consumers can deal
|
|
Packit |
cdaae3 |
with DW_AT_high_pc with form constant (a feature of DWARF4).
|
|
Packit |
cdaae3 |
* libdwarf.h.in: Added dwarf_highpc_b(),
|
|
Packit |
cdaae3 |
dwarf_add_AT_any_value_sleb(), dwarf_add_AT_any_value_uleb().
|
|
Packit |
cdaae3 |
to give producers more flexibility.
|
|
Packit |
cdaae3 |
Moved the Dwarf_Form_Class declaration closer to the
|
|
Packit |
cdaae3 |
head of the file so the new function prototypes can reference it.
|
|
Packit |
cdaae3 |
* libdwarf2.1.mm: Version 2.13. Added dwarf_highpc_b().
|
|
Packit |
cdaae3 |
* libdwarf2.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
* libdwarf2p.1.mm: Version 1.33. Documents
|
|
Packit |
cdaae3 |
dwarf_add_AT_any_value_sleb() and
|
|
Packit |
cdaae3 |
dwarf_add_AT_any_value_uleb().
|
|
Packit |
cdaae3 |
Fixes a one-character typo that was truncating the document severely.
|
|
Packit |
cdaae3 |
* libdwarf2p.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
* pro_forms.c: Implements dwarf_add_AT_any_value_sleb() and
|
|
Packit |
cdaae3 |
dwarf_add_AT_any_value_uleb().
|
|
Packit |
cdaae3 |
2013-08-09 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_init_finish.c: Spelling, change _dwarf_assume_string_bad->
|
|
Packit |
cdaae3 |
_dwarf_assume_string_in_bound to reflect the actual meaning.
|
|
Packit |
cdaae3 |
* dwarf_alloc.c: Change a debug message for DWARF_SIMPLE_MALLOC
|
|
Packit |
cdaae3 |
to write to stdout, not stderr. All non-fatal messages now
|
|
Packit |
cdaae3 |
print to stdout.
|
|
Packit |
cdaae3 |
* libdwarf2.1.mm: Now version 2.12. Corrected the
|
|
Packit |
cdaae3 |
description of dwarf_set_stringcheck().
|
|
Packit |
cdaae3 |
* libdwarf2.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
2013-08-08 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_form.c: When a FORM_string attribute is in
|
|
Packit |
cdaae3 |
debug_types it is now correctly dealt with.
|
|
Packit |
cdaae3 |
2013-08-07 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_init_finish.c: Changed a nonfatal error to
|
|
Packit |
cdaae3 |
write it to stdout instead of stderr to make it easier
|
|
Packit |
cdaae3 |
to understand the context of the error (which involves
|
|
Packit |
cdaae3 |
the number of debug sections, not something anyone
|
|
Packit |
cdaae3 |
should ever see).
|
|
Packit |
cdaae3 |
2013-07-28 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_abbrev.c, dwarf_frame.c, dwarf_frame3.c,dwarf_line.c,
|
|
Packit |
cdaae3 |
pro_reloc_stream.c, pro_section.c:
|
|
Packit |
cdaae3 |
Rename local variables to avoid
|
|
Packit |
cdaae3 |
compiler warnings about local variables reusing
|
|
Packit |
cdaae3 |
outer scope (including global) names.
|
|
Packit |
cdaae3 |
* dwarf_elf_access.c: Add AARCH64 support.
|
|
Packit |
cdaae3 |
* dwarf_reloc_arm.h: Add AARCH64 support.
|
|
Packit |
cdaae3 |
* libdwarf2.1.mm: dwarf_highpc() documentation admits
|
|
Packit |
cdaae3 |
it does not work properly for DWARF4 in all cases.
|
|
Packit |
cdaae3 |
dwarf_highpc() needs to be fixed.
|
|
Packit |
cdaae3 |
* libdwarf2.1.pdf: Regenerated
|
|
Packit |
cdaae3 |
2013-06-08 David Anderson
|
|
Packit |
cdaae3 |
* libdwarf2.1.mm: Improved the documentation of
|
|
Packit |
cdaae3 |
dwarf_highpc() function to suggest how to interpret
|
|
Packit |
cdaae3 |
the value (pc or offset).
|
|
Packit |
cdaae3 |
* libdwarf2.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
2013-03-08 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_elf_access.c: Now we handle K10M and L10M
|
|
Packit |
cdaae3 |
as having relocations named as in x86, x86_64.
|
|
Packit |
cdaae3 |
2013-02-07 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_elf_access.c: FreeBSD did not have R_PPC64_ADDR32
|
|
Packit |
cdaae3 |
as a relocation name, so changed one name to be the name
|
|
Packit |
cdaae3 |
usable in Ubuntu and FreeBSD, R_PPC_ADDR32.
|
|
Packit |
cdaae3 |
2013-02-01 David Anderson
|
|
Packit |
cdaae3 |
* libdwarf2.1.mm: Improved the documentation of the
|
|
Packit |
cdaae3 |
badly-named functions dwarf_whatform() and
|
|
Packit |
cdaae3 |
dwarf_whatform_direct().
|
|
Packit |
cdaae3 |
* libdwarf2.1.pdf: Regenerated.
|
|
Packit |
cdaae3 |
* libdwarf.h.in: The arguments to dwarf_whatform[_direct]()
|
|
Packit |
cdaae3 |
are renamed for clarity. They are commented out, so
|
|
Packit |
cdaae3 |
this is just improving documentation.
|
|
Packit |
cdaae3 |
2013-01-20 David Anderson
|
|
Packit |
cdaae3 |
* libdwarf.h: Removed.
|
|
Packit |
cdaae3 |
* libdwarf.h.in: Added. Identical content to standard libdwarf.
|
|
Packit |
cdaae3 |
* configure.in: Generates libdwarf.h.
|
|
Packit |
cdaae3 |
Notices if struct _Elf in libelf.h and generates libdwarf.h
|
|
Packit |
cdaae3 |
appropriately.
|
|
Packit |
cdaae3 |
* configure: Regenerated
|
|
Packit |
cdaae3 |
* README now mentions the libdwarf.h generation at configure time.
|
|
Packit |
cdaae3 |
2013-01-28 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_frame.c: Fix a macro so it does not test unsigned
|
|
Packit |
cdaae3 |
numbers as being less than zero. Fixes a compiler warning.
|
|
Packit |
cdaae3 |
* malloc_check.c: Add void as the parameter list of a
|
|
Packit |
cdaae3 |
parameter-less function. Fixes a compiler warning.
|
|
Packit |
cdaae3 |
2013-01-26 David Anderson
|
|
Packit |
cdaae3 |
* libdwarf.h: Remove the lc_number3 field to restore
|
|
Packit |
cdaae3 |
interface binary compatibility with earlier releases.
|
|
Packit |
cdaae3 |
* dwarf_loc.c, dwarf_loc.h: No longer uses the removed
|
|
Packit |
cdaae3 |
lc_number3 or lr_number3 fields.
|
|
Packit |
cdaae3 |
2013-01-25 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_alloc.c: Changed some local names to avoid
|
|
Packit |
cdaae3 |
compiler warnings about redefining names in inner contexts.
|
|
Packit |
cdaae3 |
* dwarf_frame2.c: Changed some local names to avoid
|
|
Packit |
cdaae3 |
compiler warnings about redefining names in inner contexts.
|
|
Packit |
cdaae3 |
Added const to some declarations to avoid warnings
|
|
Packit |
cdaae3 |
about const being cast away.
|
|
Packit |
cdaae3 |
* dwarf_init_finish.c: Added const to some declarations
|
|
Packit |
cdaae3 |
to avoid warnings about const being cast away.
|
|
Packit |
cdaae3 |
Changed some local names to avoid
|
|
Packit |
cdaae3 |
compiler warnings about redefining names in inner contexts.
|
|
Packit |
cdaae3 |
* dwarf_line.c, dwarf_print_lines.c: Added const to some declarations
|
|
Packit |
cdaae3 |
to avoid warnings about const being cast away.
|
|
Packit |
cdaae3 |
Added static to function definition to reflect its use
|
|
Packit |
cdaae3 |
and to avoid warning about lack of a visible prototype.
|
|
Packit |
cdaae3 |
* gennames.c: Using C89/90 void to declare functions with
|
|
Packit |
cdaae3 |
no arguments to avoid compiler warnings about using old style
|
|
Packit |
cdaae3 |
declarations.
|
|
Packit |
cdaae3 |
Changed some local names to avoid
|
|
Packit |
cdaae3 |
compiler warnings about redefining names in inner contexts.
|
|
Packit |
cdaae3 |
Added const to some declarations to avoid warnings
|
|
Packit |
cdaae3 |
about const being cast away.
|
|
Packit |
cdaae3 |
* pro_incl.h: WRITE_UNALIGNED macros now cast with const
|
|
Packit |
cdaae3 |
to avoid warnings about const being cast away.
|
|
Packit |
cdaae3 |
* pro_macinfo.c,pro_section.c,pro_section.h: Added const
|
|
Packit |
cdaae3 |
to some declarations to avoid warnings about const being cast away.
|
|
Packit |
cdaae3 |
2013-01-25 David Anderson
|
|
Packit |
cdaae3 |
* common.c: Add 'const' on string declarations to avoid
|
|
Packit |
cdaae3 |
compiler warnings.
|
|
Packit |
cdaae3 |
* dwarf_loc.h: Add the new field lc_number3 to handle
|
|
Packit |
cdaae3 |
DW_OP_GNU_const_type properly.
|
|
Packit |
cdaae3 |
* dwarf_loc.c: Handle DW_OP_GNU_const_type properly.
|
|
Packit |
cdaae3 |
* libdwarf.h: Add lr_number3 so we can handle DW_OP_GNU_const_type
|
|
Packit |
cdaae3 |
properly. This destroys binary compatibility. Not a good idea.
|
|
Packit |
cdaae3 |
See Jan 26, above.
|
|
Packit |
cdaae3 |
2013-01-25 David Anderson
|
|
Packit |
cdaae3 |
* dwarf_loc.c: Use cc_length_size, not cc_length to get
|
|
Packit |
cdaae3 |
the offset size. Nasty bug.
|
|
Packit |
cdaae3 |
* dwarf_opaque.h: Change commentary to clarify the cc_length
|
|
Packit |
cdaae3 |
field content to hopefully avoid making that mistake again.
|
|
Packit |
cdaae3 |
2013-01-15 David Anderson
|
|
Packit |
cdaae3 |
* dwarf.h: defines for some added DW_OP_GNU operators
|
|
Packit |
cdaae3 |
* dwarf_loc.c: Added support for some DW_OP_GNU operators.
|
|
Packit |
cdaae3 |
* config.h.in, configure.in: Define and set HAVE_STRUCT_UNDERSCORE_ELF
|
|
Packit |
cdaae3 |
as FreeBSD names struct _Elf instead of struct Elf.
|
|
Packit |
cdaae3 |
* configure: Regenerated.
|
|
Packit |
cdaae3 |
* dwarf_alloc.c: Initialize a local var at declaration, add const
|
|
Packit |
cdaae3 |
to array of strings type declaration.
|
|
Packit |
cdaae3 |
* dwarf_alloc.h: Change ah_structs_per_chunk to Dwarf_Sword
|
|
Packit |
cdaae3 |
to eliminate a compiler warning.
|
|
Packit |
cdaae3 |
* dwarf_arange.c: Change a couple Dwarf_Unsigned to Dwarf_Signed
|
|
Packit |
cdaae3 |
to eliminate a compiler warning.
|
|
Packit |
cdaae3 |
* dwarf_die_deliv.c: Change local to Dwarf_Unsigned to eliminate
|
|
Packit |
cdaae3 |
signed compare warning (and actually signed was wrong anyway!).
|
|
Packit |
cdaae3 |
* dwarf_error.c: Fix comparison to eliminate signed/unsigned
|
|
Packit |
cdaae3 |
compare warning.
|
|
Packit |
cdaae3 |
* dwarf_form.c: Index variable changed to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* dwarf_frame.c: Local variables changed to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warnings.
|
|
Packit |
cdaae3 |
* dwarf_frame3.c: Local variables changed to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warnings.
|
|
Packit |
cdaae3 |
* dwarf_init_finish.c: Local variable changed to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* dwarf_leb.c: Local variable changed to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* dwarf_line.c: Changed index variable to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* dwarf_loc.c: Delete two unused local variables.
|
|
Packit |
cdaae3 |
* dwarf_loc.c: Delete two unused local variables.
|
|
Packit |
cdaae3 |
* dwarf_macro.c: Fixed comparisons
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* dwarf_opaque.h: Changed cc_abbrev_offset and de_fde_count
|
|
Packit |
cdaae3 |
to unsigned (which they should have been all along) to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warnings.
|
|
Packit |
cdaae3 |
* dwarf_print_lines.c: Local variable changed to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* dwarf_util.c: Add include of pro_encode_nm.h to avoid
|
|
Packit |
cdaae3 |
a compiler warning. Changed index variable to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* libdwarf.h: Add ability to handle struct _Elf.
|
|
Packit |
cdaae3 |
* pro_alloc.c: Move an include of malloc.h as it is
|
|
Packit |
cdaae3 |
not needed if stdlib.h is present.
|
|
Packit |
cdaae3 |
* pro_forms.c: Changed index variable to unsigned to
|
|
Packit |
cdaae3 |
eliminate signed/unsigned comparison warning.
|
|
Packit |
cdaae3 |
* pro_util.h: Add specific allowance for FreeBSD include and
|
|
Packit |
cdaae3 |
relocation.
|