• Abstract for DWARF/ELF Extensions Library Reference
  • About Common Debug Architecture
    • DWARF program information
    • IBM extensions to libdwarf
      • Changes to DWARF/ELF library extensions
  • Debugging Information Entry (DIE) extensions
    • Program scope entries
      • Normal and partial compilation unit entries
      • Byte and bit entries
      • Subroutine and entry point entries
      • Source view entries
    • Object oriented COBOL
    • Data object and object list entries
      • Data object entries
    • Referencing coordinates
    • Base location entries
    • Type entries
      • Base type entries
      • Modified type entries
      • Structure, union, class and interface type entries
      • String type entries
      • Condition entries
      • File description entries
      • Bound checking information for type entries
  • Consumer APIs for standard DWARF sections
    • Error object consumer operations
      • Error handling macros
      • dwarf_error_reset operation
    • Initialization and termination consumer operations
      • dwarf_set_codeset operation
      • dwarf_elf_init_b operation
      • dwarf_raw_binary_init operation
      • dwarf_goff_init_with_csvquery_token operation
      • dwarf_goff_init_with_PO_filename operation
    • ELF symbol table and section consumer operations
      • ELF symbol table
      • dwarf_elf_symbol_index_list operation
      • dwarf_elf_symbol operation
      • dwarf_elf_section operation
    • Generalized DIE-section consumer APIs
      • IBM Extensions to DWARF DIE-sections
      • Dwarf_section_type enumeration
      • Dwarf_section_content enumeration
      • dwarf_debug_section operation
      • dwarf_debug_section_name operation
      • dwarf_next_unit_header operation
      • dwarf_reset_unit_header operation
    • DIE locating consumer operations
      • dwarf_rootof operation
      • dwarf_parent operation
      • dwarf_offdie_in_section operation
      • dwarf_nthdie operation
      • dwarf_clone operation
      • dwarf_pcfile operation
      • dwarf_pcsubr operation
      • dwarf_pcscope operation
    • Multiple DIEs locating consumer operations
      • dwarf_tagdies operation
      • dwarf_attrdies operation
      • dwarf_get_dies_given_name operation
      • dwarf_get_dies_given_pc operation
    • DIE-query consumer operations
      • dwarf_diesection operation
      • dwarf_diecount operation
      • dwarf_dieindex operation
      • dwarf_isclone operation
      • dwarf_dietype operation
      • dwarf_refdie operation
      • dwarf_refaddr_die operation
    • DIE-attribute query consumer operation
      • dwarf_attr_offset operation
      • dwarf_data_bitoffset operation
      • dwarf_die_xref_coord operation
    • High level PC location consumer APIs
      • Dwarf_PC_Locn object
      • Dwarf_Subpgm_Locn object
      • dwarf_pclocns operation
      • dwarf_pc_locn_term operation
      • dwarf_pc_locn_abbr_name operation
      • dwarf_pc_locn_set_abbr_name operation
      • dwarf_pc_locn_entry operation
      • dwarf_pc_locn_list operation
      • dwarf_subpgm_locn operation
    • DWARF flag operations
      • dwarf_flag_any_set operation
      • dwarf_flag_clear operation
      • dwarf_flag_complement operation
      • dwarf_flag_copy operation
      • dwarf_flag_reset operation
      • dwarf_flag_set operation
      • dwarf_flag_test operation
    • Accelerated access consumer operations
      • IBM extensions to accelerated access debug sections
      • Dwarf_section_type object
      • dwarf_access_aranges operation
      • dwarf_find_arange operation
      • dwarf_get_die_given_name_cuoffset operation
      • dwarf_get_dies_given_nametbl operation
    • Non-contiguous address ranges consumer operations
      • dwarf_get_ranges_given_offset operation
      • dwarf_range_highpc operation
      • dwarf_range_lowpc operation
  • Program Prolog Area (PPA) extension
    • Debug section
      • Block header
      • Section-specific DIEs
      • Reference section
      • Companion sections
      • Attributes forms
    • PPA consumer operations
      • dwarf_get_all_ppa2dies operation
      • dwarf_get_all_ppa1dies_given_ppa2die operation
      • dwarf_get_all_ppa2die_given_cu_offset operation
      • dwarf_find_ppa operation
  • Program source cross reference
    • Debug section
      • Block header
      • Section-specific DIEs
      • Reference section
      • Companion sections
  • Program line-number extensions
    • Breakpoint type flags
    • Symbol declaration coordinates
    • State machine registers
    • Extended opcodes
    • Dwarf_Line object
    • Consumer operations
      • dwarf_srclines_dealloc operation
      • dwarf_pc_linepgm operation
      • dwarf_die_linepgm operation
      • dwarf_linepgm_offset operation
      • dwarf_line_srcdie operation
      • dwarf_line_isa operation
      • dwarf_line_standard_flags operation
      • dwarf_line_system_flags operation
      • dwarf_linebeginprologue operation
      • dwarf_lineendprologue operation
      • dwarf_lineepilogue operation
      • dwarf_persist_srclines operation
      • dwarf_pclines operation
  • Program source description extension
    • Debug section
      • Block header
      • Section-specific DIEs
      • Companion sections
      • Reference section
      • Attributes forms
    • Source-file entries
      • Source location entries
      • Source file name entries
    • Callback functions
      • Dwarf_Retrieve_Srcline_CBFunc object
      • Dwarf_Retrieve_Srcline_term_CBFunc object
      • Dwarf_Retrieve_Srccount_CBFunc object
    • Source-file consumer operations
      • dwarf_get_srcdie_given_filename operation
      • dwarf_srclines_given_srcdie operation
      • dwarf_get_srcline_given_filename operation
      • dwarf_get_srcline_count_given_filename operation
      • dwarf_register_src_retrieval_callback_func operation
  • Program source text extensions
    • Debug section
      • Block header
      • Reference section
      • Attributes forms
    • Source text consumer operations
      • dwarf_access_source_text operation
    • Source text producer operations
      • dwarf_add_source_text operation
  • Program source attribute extensions
    • Debug section
      • Definitions
      • State machine registers
      • Source attribute program instructions
      • Source attribute program header
      • Source attribute program
      • Attributes forms
    • Consumer operations
      • dwarf_srcattr_get_version operation
      • dwarf_srcattr_get_altline_used operation
      • dwarf_srcattr_get_altlines operation
      • dwarf_srcattr_map_altline_to_line operation
      • dwarf_srcfrags_given_srcdie operation
      • dwarf_srcfrags_stmtcount_given_line operation
      • dwarf_srcfrag_given_line_stmt operation
      • dwarf_srcfrag_line operation
      • dwarf_srcfrag_column operation
      • dwarf_srcfrag_altline operation
      • dwarf_srcfrag_typeflag operation
      • dwarf_srcfrag_xreflist operation
      • dwarf_srcfrag_list_tags operation
      • dwarf_srcfrag_list_items operation
      • dwarf_srcfrag_xref_dealloc operation
    • Producer operations
      • dwarf_srcattr_table operation
      • dwarf_add_srcattr_entry operation
      • dwarf_add_srcattr_xrefitem operation
      • dwarf_add_srcattr_altline operation
      • dwarf_add_srcattr_relstmtno operation
  • DWARF expressions
    • Defaults and general rules
    • Operators
      • DW_OP_IBM_conv
      • DW_OP_IBM_builtin
      • DW_OP_IBM_prefix
      • DW_OP_IBM_logical_and
      • DW_OP_IBM_logical_or
      • DW_OP_IBM_logical_not
      • DW_OP_IBM_user
      • DW_OP_IBM_conjugate
      • DW_OP_IBM_wsa_addr
      • DW_OP_IBM_loadmod_addr
    • Location expression operations
      • dwarf_loclist_n operation
      • dwarf_get_loc_list_given_offset operation
  • DWARF library debugging facilities
    • Machine-register name API
      • Debug sections
      • DW_FRAME_390_REG_type object
      • dwarf_register_name operation
    • Relocation type name consumer API
      • Relocation macros
      • dwarf_reloc_type_name operation
    • Utility consumer operations
      • dwarf_build_version operation
      • dwarf_show_error operation
      • dwarf_set_stringcheck operation
  • Producer APIs for standard DWARF sections
    • Initialization and termination producer operations
      • dwarf_producer_target operation
      • dwarf_producer_write_elf operation
      • dwarf_p_set_codeset operation
    • dwarf_error-information producer operations
      • dwarf_p_seterrhand operation
      • dwarf_p_seterrarg operation
      • dwarf_p_show_error operation
  • Debug-section creation and termination operations
    • dwarf_add_section_to_debug operation
    • dwarf_section_finish operation
  • ELF section operations
    • dwarf_elf_create_string operation
    • dwarf_elf_create_symbol operation
    • dwarf_elf_producer_symbol_index_list operation
    • dwarf_elf_producer_string operation
    • dwarf_elf_producer_symbol operation
    • dwarf_elf_create_section_hdr_string operation
    • dwarf_elf_producer_section_hdr_string
  • DIE creation and modification operations
    • dwarf_add_die_to_debug_section operation
    • dwarf_add_AT_block_const_attr operation
    • dwarf_add_AT_const_value_block operation
    • dwarf_add_AT_reference__noninfo_with_reloc operation
    • dwarf_add_AT_unsigned_LEB128 operation
    • dwarf_add_AT_noninfo_offset operation
    • dwarf_die_merge operation
  • Line-number program (.debug_line) producer operations
    • dwarf_add_line_entry_b operation
    • dwarf_add_lne_file_decl operation
    • dwarf_add_global_file_decl operation
    • dwarf_line_set_default_isa operation
    • dwarf_line_set_isa operation operation
    • dwarf_global_linetable operation
    • dwarf_subprogram_linetable operation
  • Location-expression producer APIs
    • dwarf_add_expr_reg operation
    • dwarf_add_expr_breg operation
    • dwarf_add_conv_expr operation
    • dwarf_add_expr_ref operation
    • dwarf_add_loc_list_entry operation
    • dwarf_add_loc_list_base_address_entry operation
    • dwarf_add_loc_list_end_of_list_entry operation
  • Accelerated access producer operation
    • dwarf_add_pubtype operation
  • Dynamic storage management operation
    • dwarf_p_dealloc
  • Range-list producer APIs
    • dwarf_add_range_list_entry operation
    • dwarf_add_base_address_entry operation
    • dwarf_add_end_of_list_entry operation
  • Producer flag operations
    • dwarf_pro_flag_any_set operation
    • dwarf_pro_flag_clear operation
    • dwarf_pro_flag_complement operation
    • dwarf_pro_flag_copy operation
    • dwarf_pro_flag_reset operation
    • dwarf_pro_flag_set operation
    • dwarf_pro_flag_test operation
  • IBM extensions to libelf
    • ELF initialization and termination APIs
      • Elf_Alloc_Func object
      • Elf_Dealloc_Func object
      • Elf_Mem_Image object
      • elf_begin_b operation
      • elf_begin_c operation
      • elf_create_mem_image operation
      • elf_get_mem_image operation
      • elf_term_mem_image operation
    • ELF utilities
      • elf_build_version operation
      • elf_dll_version operation
  • Diagnosing Problems