XS-libdwarf
view release on metacpan or search on metacpan
libdwarf-code-0.11.1/src/bin/dwarfdump/ChangeLog2011 view on Meta::CPAN
2011-12-14 DavidAnderson <davea42@earthlink.net>
* print_die.c: Add support for newer DW_OP_GNU_* .
2011-12-13 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c, common.c: Update version string.
* tag_attr_ext.list, tag_common.h: New information on GNU
attributes meant allowing a larger row count.
2011-12-13 DavidAnderson <davea42@earthlink.net>
* tag_common.h: A new attr in the .list means increasing
the column count.
2011-12-13 DavidAnderson <davea42@earthlink.net>
* print_lines.c: Now prints no-column as 0 not -1.
And prints the DWARF3/4 line table values when present.
* tag_attr_ext.list: Add a GNU extension.
2011-10-30 DavidAnderson <davea42@earthlink.net>
* configure.in: Removed a couple bogus lines which were
reporting strange shell errors.
* configure: Regenerated.
* dwarfdump.c: Refine the error outputs so bogus reports
do not print. Refactor the debuginfo/types prints for
better reporting of errors.
* globals.h: Refactoring meant changing one prototype here,
the print_infos() prototype.
* print_die.c: Refactor the debuginfo/types prints for
better reporting of errors. Remove an 'error' report
about DW_DLE_REF_SIG8_NOT_HANDLED. It's unclear
what we might want to do here in future, but an error
report is misleading.
2011-10-29 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c, common.c: Update version strings.
2011-10-29 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: Reset the CU hints at each new section.
Set up reloc flags so debug_types gets relocated if necessary.
* globals.h: Add DEBUG_TYPES for the .debug_types section.
Add a type-unit signature pretty-printer function.
Add DW_SECTION_REL_DEBUG_TYPES so debug_types can be relocated.
* print_reloc.c: Add entries so debug_types can get relocated.
* print_die.c: Now we handle both debug_info and debug_types
sections. Moved some CU header print operations to little
helper functions to clarify the code. Refactored print_infos()
to deal with debug_types and debug_info.
Using the new libdwarf functions that allow debug_types.
* print_lines.c: Delete unused local variable and its setting code.
2011-10-26 DavidAnderson <davea42@earthlink.net>
* Makefile.in, README: Added Make settings of PREINCS POSTINCS
PRELIBS, POSTLIBS to simplify building when libdwarf or libelf
are not in the normal locations. Documented usable ways to
deal with unusual situations at build time.
2011-10-24 DavidAnderson <davea42@earthlink.net>
* common.c: Update version string.
* dwarfdump.c: Update version string.
To get '-c cu-name' to work we need to set a local flag which is now set.
* dwarfdump.1: Clearly identify the command line options where
URI style input is expected.
2011-10-23 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: Fix omission of a 'break' statement for case 'q'.
2011-10-23 DavidAnderson <davea42@earthlink.net>
* dwarfdump.1: Now command line input strings
are translated from uri-style
* dwarfdump.c: Translate input strings to from uri style to characters.
Fix indentation mistakes.
Fix constness issues on character strings.
* dwconf.c: Fix constness issues on character strings.
* dwconf.h: Fix constness issues on character strings.
* globals.h: Fix constness issues on character strings.
* makename.c: Fix constness issues on character strings.
* makename.h: Fix constness issues on character strings.
* uri.c: Fix indentation mistakes.
2011-10-22 DavidAnderson <davea42@earthlink.net>
* common.c :Update version string.
* dwarfdump.c: Update version string. Do not set ranges_flag
with -a because that is unsafe to print seperately in general.
* dwarfdump.1: Rewrite the man page for completeness and
accuracy.
2011-10-11 DavidAnderson <davea42@earthlink.net>
* common.c: Update version string.
* dwarfdump.c: Update version string and translate -S strings
from uri-style to standard strings so spaces and other standard
characters are easily represented (no quoting problems).
Update version string.
* print_die.c: For -S -W we were printing the wrong die-level.
* uri.h,uri.c: Add the translate_from_uri() function.
Fix some of the tests in uri.c to match to- and from-uri.
2011-10-09 DavidAnderson <davea42@earthlink.net>
* common.c, dwarfdump.c: Update version strings.
2011-10-09 DavidAnderson <davea42@earthlink.net>
* dwconf.c,print_die.c, print_frames.c: Fix bad indentation.
2011-10-09 DavidAnderson <davea42@earthlink.net>
* print_die.c (get_location_list): Tests for DW_DLV_ERROR
were written without {}, added in the braces.
2011-10-08 DavidAnderson <davea42@earthlink.net>
* dwarfdump.cc: If doing any relevant checking,
instantiate all three possibly-usable BucketGroup objects.
That makes it simpler to avoid a coredump when the user
provides a nonsensical option set -- at a cost of
a very small amount of memory.
2011-10-06 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: Removed a newline in a printf to match dwarfdump2.
Calls of get_attr_value() now have extra argument, so
fix them.
* dwarfdump.conf: Having 'mips' be an ABI which really reflected
the IRIX abi and IRIX compilers was a mistake. Now that
abi works for modern MIPS.
* globals.h: get_attr_value() adds an argument.
* print_die.c: Expanded the error messages in a couple type_offset_result
checks. Worked around the global nature of esb_base by
saving it locally while we recursively traverse DW_AT_type like things
looking for bad references. Added a 'verbose' argument a few places
so (at a critical point) show_form_itself won't add a form
string when we really don't want it to.
* print_static_funcs.c: Fixed an error string so it says
static funcs, not pubnames.
* print_lines.c: Ensure we only check for errors when
we request such checking.
* print_reloc.c: Ensure we don't index off the end of scn_names.
Deal with missing names and bad symbol indexes consistently.
When working with a .rela, report name as the section name
instead of calling it .rel in the relocations output.
2011-10-05 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: Increased COMPILER_TABLE_MAX for better reporting.
Provide a 'HARMLESS ERROR' title in output if there are any such.
One issue is (for relocatable objects) libdwarf attempts to continue
even if relocations fail, and a relocation failure is now
counted as a harmless error (even if it turns out to be harmful!).
When sorting compilers_detected, use the producer name to sort
when error counts are identical. If the compiler table fills up,
print a note. With -ka, no longer explicitly turn check_frames_extended
off, it is off already unless the user turned it on explicitly with
-kxe.
* print_die.c: The check for a file number (decl_file) was simply wrong.
Made some detail changes to reporting.
* print_frames.c: Added comments about the inefficiency for getting
function names when printing frames (dwarfdump2 does not suffer
the same inefficiency).
* print_locs.c: Do not use a side effect for updating the index
before printing in print_locs().
2011-10-03 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: for -kF, add check_lines. Ensure uniformity
in the usage-text ending.
* print_lines.c: Ensure lines printing suppresses some
error reporting when appropriate.
2011-10-03 DavidAnderson <davea42@earthlink.net>
* print_die.c: Fix the formx code by removing recently-added use of llabs().
Fix format botch, and correct small error string mistakes. Empty
esb_extra string when it is no longer valid.
2011-10-03 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: Minor formatting changes.
* print_die.c: Initialize some local varables at definition. Ensure that
we do not get a FORM name in a name string (so a test
works right). And also ensure a FORM name does not get
into a compiler-target setting. Refine the formx_print_value()
so it is more complete (like dwarfdump2). Ensure show_form_itself()
uses the argument, not a global, for the show-form test.
* naming.c: Introduce a {} pair on an 'if'
to reduce the possibility of future
errors.
* print_pubnames.c: Add error details to match dwarfdump2.
* print_ranges.c: If not printing, return immediately.
* print_reloc.c: A test was coded with = where == was needed.
* print_types.c: Move local variable definitions to the
block they are used in.
2011-09-29 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: Amplifying the -n help string.
* print_abbrev.c: Adding the standard test of the section
print option before printing the header line for the abbrevs section.
* print_die.c: Added a {} pair to avoid eventual bug.
* print_frames.c: Reformatted a comment for readability.
* print_lines.c: Added a status test for consistency with the rest
of the code.
* print_reloc.c: One of the assign-and-test removal changes
in the previous changes was wrong.
2011-09-26 DavidAnderson <davea42@earthlink.net>
* dwarfdump.c: Removed duplicate usage_text strings.
* print_reloc.c: In case we don't have ELF64 headers,
do the last-best-hope internal define in the right place
so it actually helps. For some local variables, ensure
they have values defined at the definition point.
Switch some assign-and-test into two lines.
2011-09-20 DavidAnderson <davea42@earthlink.net>
* Makefile.in: Fixed typo in comment.
* common.c: Use snprintf, not sprintf. Updated version string.
* dwarfdump.c: Correct typo and move usage_text to
a source position corresponding to that in dwarfdump.cc.
( run in 1.090 second using v1.01-cache-2.11-cpan-5511b514fd6 )