1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2019 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This was made from ../gdb.fortran/common-block.f90 using
gfortran -dA -S -g
and then hand-editing the assembly a bit to introduce
DW_AT_data_member_location.
Search for "#if 0" in this file to see the important edits. */
.file "common-block.f90"
.text
.Ltext0:
.globl in_
.type in_, @function
in_:
.LFB0:
.file 1 "../gdb.fortran/common-block.f90"
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
# ../gdb.fortran/common-block.f90:34
.loc 1 34 0
movl $5, -4(%rbp)
# ../gdb.fortran/common-block.f90:35
.loc 1 35 0
movl $55, -8(%rbp)
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0
movl fo_o_(%rip), %eax
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0
cmpl $11, %eax
jne .L2
# basic block 3
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 2
movss fo_o_+4(%rip), %xmm0
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0 discriminator 2
ucomiss .LC0(%rip), %xmm0
jp .L2
# basic block 4
ucomiss .LC0(%rip), %xmm0
jne .L2
# basic block 5
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 3
movsd fo_o_+8(%rip), %xmm0
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0 discriminator 3
ucomisd .LC1(%rip), %xmm0
jp .L2
# basic block 6
ucomisd .LC1(%rip), %xmm0
je .L8
.L2:
# basic block 7
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0 is_stmt 0 discriminator 1
movl $0, %eax
call _gfortran_abort
.L8:
# basic block 8
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 is_stmt 1
movl foo_(%rip), %eax
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0
cmpl $1, %eax
jne .L5
# basic block 9
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 2
movss foo_+4(%rip), %xmm0
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0 discriminator 2
ucomiss .LC2(%rip), %xmm0
jp .L5
# basic block 10
ucomiss .LC2(%rip), %xmm0
jne .L5
# basic block 11
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 3
movsd foo_+8(%rip), %xmm0
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0 discriminator 3
ucomisd .LC3(%rip), %xmm0
jp .L5
# basic block 12
ucomisd .LC3(%rip), %xmm0
je .L9
.L5:
# basic block 13
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0 is_stmt 0 discriminator 1
movl $0, %eax
call _gfortran_abort
.L9:
# basic block 14
# ../gdb.fortran/common-block.f90:40
.loc 1 40 0 is_stmt 1
movl $0, fo_o_(%rip)
# ../gdb.fortran/common-block.f90:42
.loc 1 42 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size in_, .-in_
.type MAIN__, @function
MAIN__:
.LFB1:
# ../gdb.fortran/common-block.f90:44
.loc 1 44 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
# ../gdb.fortran/common-block.f90:57
.loc 1 57 0
movl $1, foo_(%rip)
# ../gdb.fortran/common-block.f90:58
.loc 1 58 0
movl $0x40000000, %eax
movl %eax, foo_+4(%rip)
# ../gdb.fortran/common-block.f90:59
.loc 1 59 0
movabsq $4613937818241073152, %rax
movq %rax, foo_+8(%rip)
# ../gdb.fortran/common-block.f90:61
.loc 1 61 0
movl $11, fo_o_(%rip)
# ../gdb.fortran/common-block.f90:62
.loc 1 62 0
movl $0x41b00000, %eax
movl %eax, fo_o_+4(%rip)
# ../gdb.fortran/common-block.f90:63
.loc 1 63 0
movabsq $4629841154425225216, %rax
movq %rax, fo_o_+8(%rip)
# ../gdb.fortran/common-block.f90:65
.loc 1 65 0
movl $0, %eax
call in_
# ../gdb.fortran/common-block.f90:67
.loc 1 67 0
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size MAIN__, .-MAIN__
.globl main
.type main, @function
main:
.LFB2:
# ../gdb.fortran/common-block.f90:67
.loc 1 67 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
# ../gdb.fortran/common-block.f90:67
.loc 1 67 0
movq -16(%rbp), %rdx
movl -4(%rbp), %eax
movq %rdx, %rsi
movl %eax, %edi
call _gfortran_set_args
movl $options.0.1570, %esi
movl $8, %edi
call _gfortran_set_options
call MAIN__
movl $0, %eax
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size main, .-main
.comm foo_,16,16
.comm fo_o_,16,16
.section .rodata
.align 32
.type options.0.1570, @object
.size options.0.1570, 32
options.0.1570:
.long 68
.long 511
.long 0
.long 0
.long 0
.long 1
.long 0
.long 1
.align 4
.LC0:
.long 1102053376
.align 8
.LC1:
.long 0
.long 1077968896
.align 4
.LC2:
.long 1073741824
.align 8
.LC3:
.long 0
.long 1074266112
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
#if 0
.long 0x247 # Length of Compilation Unit Info
#else
.long .Ldebuginfo_end - .Ldebug_info1 # Length of Compilation Unit Info
.Ldebug_info1:
#endif
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF13 # DW_AT_producer: "GNU Fortran 4.6.3 plus hand hackery"
.byte 0xe # DW_AT_language
.byte 0x2 # DW_AT_identifier_case
.long .LASF14 # DW_AT_name: "../gdb.fortran/common-block.f90"
.long .LASF15 # DW_AT_comp_dir: "gdb.dwarf2"
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x2e) DW_TAG_subprogram)
# DW_AT_external
.ascii "in\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x15 # DW_AT_decl_line
.ascii "in_\0" # DW_AT_linkage_name
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_tail_call_sites
.long 0x11a # DW_AT_sibling
.uleb128 0x3 # (DIE (0x4e) DW_TAG_common_block)
.long .LASF0 # DW_AT_name: "fo_o"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1f # DW_AT_decl_line
.long .LASF8 # DW_AT_linkage_name: "fo_o_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
.long 0xa5 # DW_AT_sibling
#if 0
.uleb128 0x4 # (DIE (0x67) DW_TAG_variable)
#else
.uleb128 0x10 # (DIE (0x1bb) DW_TAG_variable)
#endif
.ascii "ix\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x17 # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
#if 0
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
#else
.uleb128 0x9 # DW_AT_data_member_location
# (size chosen to avoid renumbering all DIEs)
.byte 0x8 # DW_OP_const1u
.byte 0x0
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
#endif
.uleb128 0x4 # (DIE (0x7b) DW_TAG_variable)
.ascii "iy2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x18 # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+4
.uleb128 0x4 # (DIE (0x90) DW_TAG_variable)
.ascii "iz\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x19 # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+8
.byte 0 # end of children of DIE 0x4e
.uleb128 0x5 # (DIE (0xa5) DW_TAG_common_block)
.ascii "foo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x20 # DW_AT_decl_line
.long .LASF16 # DW_AT_linkage_name: "foo_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
.long 0xfe # DW_AT_sibling
.uleb128 0x6 # (DIE (0xbe) DW_TAG_variable)
.long .LASF1 # DW_AT_name: "ix_x"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1b # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
.uleb128 0x6 # (DIE (0xd3) DW_TAG_variable)
.long .LASF2 # DW_AT_name: "iy_y"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1c # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+4
.uleb128 0x6 # (DIE (0xe8) DW_TAG_variable)
.long .LASF3 # DW_AT_name: "iz_z2"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1d # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+8
.byte 0 # end of children of DIE 0xa5
.uleb128 0x7 # (DIE (0xfe) DW_TAG_variable)
.ascii "iy\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x22 # DW_AT_decl_line
.long 0x11a # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.uleb128 0x8 # (DIE (0x10b) DW_TAG_variable)
.long .LASF4 # DW_AT_name: "iz_z"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x23 # DW_AT_decl_line
.long 0x11a # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -24
.byte 0 # end of children of DIE 0x2e
.uleb128 0x9 # (DIE (0x11a) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF5 # DW_AT_name: "integer(kind=4)"
.uleb128 0x9 # (DIE (0x121) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x4 # DW_AT_encoding
.long .LASF6 # DW_AT_name: "real(kind=4)"
.uleb128 0x9 # (DIE (0x128) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x4 # DW_AT_encoding
.long .LASF7 # DW_AT_name: "real(kind=8)"
.uleb128 0xa # (DIE (0x12f) DW_TAG_subprogram)
.long .LASF17 # DW_AT_name: "common_test"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x2c # DW_AT_decl_line
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_tail_call_sites
# DW_AT_main_subprogram
.byte 0x2 # DW_AT_calling_convention
.long 0x1f9 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x14d) DW_TAG_common_block)
.long .LASF0 # DW_AT_name: "fo_o"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1f # DW_AT_decl_line
.long .LASF8 # DW_AT_linkage_name: "fo_o_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
.long 0x1a6 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x166) DW_TAG_variable)
.long .LASF1 # DW_AT_name: "ix_x"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x32 # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
.uleb128 0x6 # (DIE (0x17b) DW_TAG_variable)
.long .LASF2 # DW_AT_name: "iy_y"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x33 # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+4
.uleb128 0x6 # (DIE (0x190) DW_TAG_variable)
.long .LASF4 # DW_AT_name: "iz_z"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x34 # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+8
.byte 0 # end of children of DIE 0x14d
.uleb128 0xb # (DIE (0x1a6) DW_TAG_common_block)
.ascii "foo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x20 # DW_AT_decl_line
.long .LASF16 # DW_AT_linkage_name: "foo_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
#if 0
.uleb128 0x4 # (DIE (0x1bb) DW_TAG_variable)
#else
.uleb128 0x10 # (DIE (0x1bb) DW_TAG_variable)
#endif
.ascii "ix\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x2e # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
#if 0
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
#else
.uleb128 0x9 # DW_AT_data_member_location
# (size chosen to avoid renumbering all DIEs)
.byte 0x8 # DW_OP_const1u
.byte 0x0
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
#endif
.uleb128 0x4 # (DIE (0x1cf) DW_TAG_variable)
.ascii "iy\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x2f # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+4
.uleb128 0x4 # (DIE (0x1e3) DW_TAG_variable)
.ascii "iz\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x30 # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+8
.byte 0 # end of children of DIE 0x1a6
.byte 0 # end of children of DIE 0x12f
.uleb128 0xc # (DIE (0x1f9) DW_TAG_subprogram)
# DW_AT_external
.long .LASF9 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x43 # DW_AT_decl_line
.long 0x11a # DW_AT_type
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_tail_call_sites
.long 0x238 # DW_AT_sibling
.uleb128 0xd # (DIE (0x21a) DW_TAG_formal_parameter)
.long .LASF10 # DW_AT_name: "argc"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x43 # DW_AT_decl_line
.long 0x238 # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.uleb128 0xd # (DIE (0x228) DW_TAG_formal_parameter)
.long .LASF11 # DW_AT_name: "argv"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x43 # DW_AT_decl_line
.long 0x23d # DW_AT_type
.uleb128 0x3 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -32
.byte 0x6 # DW_OP_deref
.byte 0 # end of children of DIE 0x1f9
.uleb128 0xe # (DIE (0x238) DW_TAG_const_type)
.long 0x11a # DW_AT_type
.uleb128 0xf # (DIE (0x23d) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x243 # DW_AT_type
.uleb128 0x9 # (DIE (0x243) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x8 # DW_AT_encoding
.long .LASF12 # DW_AT_name: "character(kind=1)"
.byte 0 # end of children of DIE 0xb
#if 0
#else
.Ldebuginfo_end:
#endif
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x42 # (DW_AT_identifier_case)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x1a # (TAG: DW_TAG_common_block)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x1a # (TAG: DW_TAG_common_block)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x6a # (DW_AT_main_subprogram)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x36 # (DW_AT_calling_convention)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x1a # (TAG: DW_TAG_common_block)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x26 # (TAG: DW_TAG_const_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
#if 0
#else
.uleb128 0x10 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x38 # (DW_AT_data_member_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
#endif
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "fo_o"
.LASF8:
.string "fo_o_"
.LASF3:
.string "iz_z2"
.LASF1:
.string "ix_x"
.LASF9:
.string "main"
.LASF4:
.string "iz_z"
.LASF13:
.string "GNU Fortran 4.6.3 plus hand hackery"
.LASF16:
.string "foo_"
.LASF7:
.string "real(kind=8)"
.LASF5:
.string "integer(kind=4)"
.LASF17:
.string "common_test"
.LASF12:
.string "character(kind=1)"
.LASF14:
.string "../gdb.fortran/common-block.f90"
.LASF10:
.string "argc"
.LASF2:
.string "iy_y"
.LASF11:
.string "argv"
.LASF15:
.string "gdb.dwarf2"
.LASF6:
.string "real(kind=4)"
.ident "GCC: (GNU) 4.6.3 20120306 (Red Hat 4.6.3-2)"
.section .note.GNU-stack,"",@progbits
|