1.section .text,"ax" 2sym: 3 .quad zed6 4sym2: 5 .quad zed7 6 7.section .debug_line,"",@progbits 8.Lunit: 9 .long .Lunit_end - .Lunit_start # unit length 10.Lunit_start: 11 .short 4 # version 12 .long .Lprologue_end - .Lprologue_start # prologue length 13.Lprologue_start: 14 .byte 1 # minimum instruction length 15 .byte 1 # maximum operatiosn per instruction 16 .byte 1 # default is_stmt 17 .byte -5 # line base 18 .byte 14 # line range 19 .byte 13 # opcode base 20 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # standard opcode lengths 21 .asciz "dir" # include directories 22 .byte 0 23 .asciz "undef-bad-debug.s" # file names 24 .byte 1, 0, 0 25 .byte 0 26 .byte 0 # extraneous byte 27.Lprologue_end: 28 .byte 0, 9, 2 # DW_LNE_set_address 29 .quad sym 30 .byte 3 # DW_LNS_advance_line 31 .byte 10 32 .byte 1 # DW_LNS_copy 33 .byte 2 # DW_LNS_advance_pc 34 .byte 8 35 .byte 0, 1, 1 # DW_LNE_end_sequence 36.Lunit_end: 37 38.Lunit2: 39 .long .Lunit2_end - .Lunit2_start # unit length 40.Lunit2_start: 41 .short 4 # version 42 .long .Lprologue2_end - .Lprologue2_start # prologue length 43.Lprologue2_start: 44 .byte 1 # minimum instruction length 45 .byte 1 # maximum operatiosn per instruction 46 .byte 1 # default is_stmt 47 .byte -5 # line base 48 .byte 14 # line range 49 .byte 13 # opcode base 50 .byte 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 # standard opcode lengths 51 .asciz "dir2" # include directories 52 .byte 0 53 .asciz "undef-bad-debug2.s" # file names 54 .byte 1, 0, 0 55 .byte 0 56.Lprologue2_end: 57 .byte 0, 9, 2 # DW_LNE_set_address 58 .quad sym2 59 .byte 3 # DW_LNS_advance_line 60 .byte 10 61 .byte 1 # DW_LNS_copy 62 .byte 2 # DW_LNS_advance_pc 63 .byte 8 64 .byte 0, 1, 1 # DW_LNE_end_sequence 65 .byte 0, 9, 2 # DW_LNE_set_address 66 .quad 0x0badbeef 67 .byte 3 # DW_LNS_advance_line 68 .byte 99 69 .byte 1 # DW_LNS_copy 70 .byte 99 # DW_LNS_advance_pc 71 .byte 119 72 # Missing end of sequence. 73.Lunit2_end: 74 75.section .debug_info,"",@progbits 76 .long .Lcu_end - .Lcu_start # Length of Unit 77.Lcu_start: 78 .short 4 # DWARF version number 79 .long .Lsection_abbrev # Offset Into Abbrev. Section 80 .byte 8 # Address Size (in bytes) 81 .byte 1 # Abbrev [1] 0xb:0x79 DW_TAG_compile_unit 82 .long .Lunit # DW_AT_stmt_list 83 .byte 2 # Abbrev [2] 0x2a:0x15 DW_TAG_variable 84 .long .Linfo_string # DW_AT_name 85 # DW_AT_external 86 .byte 1 # DW_AT_decl_file 87 .byte 3 # DW_AT_decl_line 88 .byte 0 # End Of Children Mark 89.Lcu_end: 90 91 .long .Lcu2_end - .Lcu2_start # Length of Unit 92.Lcu2_start: 93 .short 4 # DWARF version number 94 .long .Lsection_abbrev # Offset Into Abbrev. Section 95 .byte 8 # Address Size (in bytes) 96 .byte 1 # Abbrev [1] 0xb:0x79 DW_TAG_compile_unit 97 .long .Lunit2 # DW_AT_stmt_list 98 .byte 2 # Abbrev [2] 0x2a:0x15 DW_TAG_variable 99 .long .Linfo2_string # DW_AT_name 100 # DW_AT_external 101 .byte 1 # DW_AT_decl_file 102 .byte 3 # DW_AT_decl_line 103 .byte 0 # End Of Children Mark 104.Lcu2_end: 105 106.section .debug_abbrev,"",@progbits 107.Lsection_abbrev: 108 .byte 1 # Abbreviation Code 109 .byte 17 # DW_TAG_compile_unit 110 .byte 1 # DW_CHILDREN_yes 111 .byte 16 # DW_AT_stmt_list 112 .byte 23 # DW_FORM_sec_offset 113 .byte 0 # EOM(1) 114 .byte 0 # EOM(2) 115 .byte 2 # Abbreviation Code 116 .byte 52 # DW_TAG_variable 117 .byte 0 # DW_CHILDREN_no 118 .byte 3 # DW_AT_name 119 .byte 14 # DW_FORM_strp 120 .byte 63 # DW_AT_external 121 .byte 25 # DW_FORM_flag_present 122 .byte 58 # DW_AT_decl_file 123 .byte 11 # DW_FORM_data1 124 .byte 59 # DW_AT_decl_line 125 .byte 11 # DW_FORM_data1 126 .byte 0 # EOM(1) 127 .byte 0 # EOM(2) 128 .byte 0 # EOM(3) 129 130.section .debug_str,"MS",@progbits,1 131.Linfo_string: 132 .asciz "sym" 133.Linfo2_string: 134 .asciz "sym2" 135