Red Hat Developer Toolset 2.1 is distributed with elfutils 0.157, which provides a number of bug fixes and feature enhancements over the Red Hat Enterprise Linux system version and version 0.155 included in Red Hat Developer Toolset 2.0. Below is a comprehensive list of new features in this release.
The following features have been added since the release of elfutils included in Red Hat Developer Toolset 2.0:
- The
libdwlibrary now supports new functionsdwarf_getlocations(),dwarf_getlocation_attr(), anddwarf_getlocation_die(). - The
dwarf_getlocation()function from thelibdwlibrary now supports new DWARF GNU extension opcodesDW_OP_GNU_parameter_ref,DW_OP_GNU_convert,DW_OP_GNU_reinterpret,DW_OP_GNU_regval_type,DW_OP_GNU_entry_value,DW_OP_GNU_deref_type, andDW_OP_GNU_const_type. - The
dwfl_module_addrsym()function from thelibdwlibrary now returns theSTB_GLOBALsymbols in preference toSTB_WEAK. - The
dwfl_report_elf()function from thelibdwlibrary now accepts an additional parameter. This new parameter can be used to configure whether the start address specified in another parameter is an absolute address or a bias relative to thep_vaddrpointer from the program header of the given ELF file. - Functions
dwfl_module_getsymtab(),dwfl_module_getsym(),dwfl_module_addrsym(), anddwfl_module_addrname()from thelibdwlibrary are now aware of the existence of MiniDebugInfo files embedded in main ELF files and consult them when looking for symbols. - The
dwfl_core_file_report()function from thelibdwlibrary now reads the chain from theDT_DEBUGentry before attempting to use other module discovery methods. - The
eu-readelfutility now understands core note type valuesNT_ARM_TLS,NT_ARM_VFP,NT_ARM_HW_BREAK,NT_ARM_HW_WATCH,NT_SIGINFO, andNT_FILEand converts them to a human-readable form. It also understands.gdb_indexsections version 8. - The
eu-readelfutility now supports the following new command line options:- The
--elf-sectionoption can be used to inspect an embedded ELF file. - The
--unresolved-address-offsetsoption or its short variant-Ucan be used to dump addresses in ELF files without resolving them to symbols. - The
--debug-dump=decodelineoption can be used to dump a.debug_linesection in a human-readable, expanded format. In contrast, the original behavior of--debug-dump=arangescan now be achieved by using the--debug-dump=decodedarangesoption, and the default formatting of the.debug_arangessection is now the same as in the ELF file.
- The
eu-addr2lineutility now supports a new command line option--inlines(and its short variant-i), which can be used to display all inlined subroutines of a particular address.