The section .debug_aranges contains: Length: 36 Version: 2 Offset into .debug_info: 0 Pointer Size: 4 Segment Size: 0 Address Length 08048334 10 080484b4 10 Length: 28 Version: 2 Offset into .debug_info: 58 Pointer Size: 4 Segment Size: 0 Address Length 08048340 155 Contents of the .debug_pubnames section: Length: 41 Version: 2 Offset into .debug_info section: 88 Size of area in .debug_info section: 319 Offset Name 92 fun2 164 fun1 255 main The section .debug_info contains: Compilation Unit @ 0: Length: 84 Version: 2 Abbrev Offset: 0 Pointer Size: 4 <0>: Abbrev Number: 1 (DW_TAG_compile_unit) DW_AT_stmt_list : 0 DW_AT_name : s2.s DW_AT_comp_dir : /home/qinwei/GJ283/code/build_linux/debug-gdb DW_AT_producer : GNU AS 2.15.92.0.2 DW_AT_language : 32769 (MIPS assembler) Compilation Unit @ 58: Length: 315 Version: 2 Abbrev Offset: 16 Pointer Size: 4 <0><63>: Abbrev Number: 1 (DW_TAG_compile_unit) DW_AT_stmt_list : 62 DW_AT_high_pc : 0x80483db DW_AT_low_pc : 0x8048340 DW_AT_producer : GNU C 4.0.2 DW_AT_language : 1 (ANSI C) DW_AT_name : tp_bt1.c DW_AT_comp_dir : /home/qinwei/GJ283/code/build_linux/debug-gdb <1>: Abbrev Number: 2 (DW_TAG_subprogram) DW_AT_sibling : DW_AT_external : 1 DW_AT_name : fun2 DW_AT_decl_file : 1 DW_AT_decl_line : 3 DW_AT_prototyped : 1 DW_AT_type : DW_AT_low_pc : 0x8048340 DW_AT_high_pc : 0x8048355 DW_AT_frame_base : 1 byte block: 55 (DW_OP_reg5) <2>: Abbrev Number: 3 (DW_TAG_formal_parameter) DW_AT_name : x DW_AT_decl_file : 1 DW_AT_decl_line : 2 DW_AT_type : DW_AT_location : 2 byte block: 75 8 (DW_OP_breg5: 8) <2>: Abbrev Number: 3 (DW_TAG_formal_parameter) DW_AT_name : y DW_AT_decl_file : 1 DW_AT_decl_line : 2 DW_AT_type : DW_AT_location : 2 byte block: 75 c (DW_OP_breg5: 12) <2>: Abbrev Number: 4 (DW_TAG_variable) DW_AT_name : z DW_AT_decl_file : 1 DW_AT_decl_line : 4 DW_AT_type : DW_AT_location : 2 byte block: 75 7c (DW_OP_breg5: -4) <1>: Abbrev Number: 5 (DW_TAG_base_type) DW_AT_name : int DW_AT_byte_size : 4 DW_AT_encoding : 5 (signed) <1>: Abbrev Number: 2 (DW_TAG_subprogram) DW_AT_sibling : <157> DW_AT_external : 1 DW_AT_name : fun1 DW_AT_decl_file : 1 DW_AT_decl_line : 11 DW_AT_prototyped : 1 DW_AT_type : DW_AT_low_pc : 0x8048355 DW_AT_high_pc : 0x8048389 DW_AT_frame_base : 1 byte block: 55 (DW_OP_reg5) <2><118>: Abbrev Number: 3 (DW_TAG_formal_parameter) DW_AT_name : k DW_AT_decl_file : 1 DW_AT_decl_line : 10 DW_AT_type : DW_AT_location : 2 byte block: 75 8 (DW_OP_breg5: 8) <2><124>: Abbrev Number: 3 (DW_TAG_formal_parameter) DW_AT_name : l DW_AT_decl_file : 1 DW_AT_decl_line : 10 DW_AT_type : DW_AT_location : 2 byte block: 75 c (DW_OP_breg5: 12) <2><130>: Abbrev Number: 4 (DW_TAG_variable) DW_AT_name : m DW_AT_decl_file : 1 DW_AT_decl_line : 12 DW_AT_type : DW_AT_location : 2 byte block: 75 74 (DW_OP_breg5: -12) <2><13c>: Abbrev Number: 4 (DW_TAG_variable) DW_AT_name : n DW_AT_decl_file : 1 DW_AT_decl_line : 12 DW_AT_type : DW_AT_location : 2 byte block: 75 78 (DW_OP_breg5: -8) <2><148>: Abbrev Number: 4 (DW_TAG_variable) DW_AT_name : ret DW_AT_decl_file : 1 DW_AT_decl_line : 13 DW_AT_type : DW_AT_location : 2 byte block: 75 7c (DW_OP_breg5: -4) <1><157>: Abbrev Number: 6 (DW_TAG_subprogram) DW_AT_external : 1 DW_AT_name : main