Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* This testcase is part of GDB, the GNU debugger. 1 /* This testcase is part of GDB, the GNU debugger.
2 2
3 Copyright 2011-2012 Free Software Foundation, Inc. 3 Copyright 2011-2012 Free Software Foundation, Inc.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or 7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
(...skipping 12 matching lines...) Expand all
23 .2byte 2 /* DWARF Version */ 23 .2byte 2 /* DWARF Version */
24 .4byte .Labbrev1_begin /* Offset into abbrev section */ 24 .4byte .Labbrev1_begin /* Offset into abbrev section */
25 .byte 4 /* Pointer size */ 25 .byte 4 /* Pointer size */
26 26
27 /* CU die */ 27 /* CU die */
28 .uleb128 1 /* Abbrev: DW_TAG_compile_unit * / 28 .uleb128 1 /* Abbrev: DW_TAG_compile_unit * /
29 .4byte .Lline1_begin /* DW_AT_stmt_list */ 29 .4byte .Lline1_begin /* DW_AT_stmt_list */
30 .4byte func_start /* DW_AT_low_pc */ 30 .4byte func_start /* DW_AT_low_pc */
31 .4byte func_end /* DW_AT_high_pc */ 31 .4byte func_end /* DW_AT_high_pc */
32 .ascii "main.c\0" /* DW_AT_name */ 32 .ascii "main.c\0" /* DW_AT_name */
33 » .ascii» "GNU C 4.0.0\0"»» » /* DW_AT_producer must be >= 4.0 */ 33 » .ascii» "GNU C 4.5.0\0"»» » /* DW_AT_producer must be >= 4.5 */
34 .byte 2 /* DW_AT_language (DW_LANG_C) */ 34 .byte 2 /* DW_AT_language (DW_LANG_C) */
35 35
36 .uleb128 2 /* Abbrev: DW_TAG_subprogram */ 36 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
37 .byte 1 /* DW_AT_external */ 37 .byte 1 /* DW_AT_external */
38 .ascii "func\0" /* DW_AT_name */ 38 .ascii "func\0" /* DW_AT_name */
39 .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */ 39 .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
40 .4byte func_start /* DW_AT_low_pc */ 40 .4byte func_start /* DW_AT_low_pc */
41 .4byte func_end /* DW_AT_high_pc */ 41 .4byte func_end /* DW_AT_high_pc */
42 42
43 /* GDB `has_loclist' detection of -O2 -g code needs to see a DW_AT_location 43 /* GDB `has_loclist' detection of -O2 -g code needs to see a DW_AT_location
44 location list. There may exist -O2 -g CUs still not needing/using any such 44 location list. There may exist -O2 -g CUs still not needing/using any such
45 location list - exactly like this CU. Make one up. */ 45 location list - exactly like this CU. Make one up. */
46 46
47 .uleb128 0x7 /* (DIE (0x42) DW_TAG_formal_par ameter) */ 47 .uleb128 0x7 /* (DIE (0x42) DW_TAG_formal_par ameter) */
48 .ascii "param\0" /* DW_AT_name */ 48 .ascii "param\0" /* DW_AT_name */
49 » .long» » .Ltype_int - .Lcu1_begin» /* DW_AT_type */ 49 » .4byte» » .Ltype_int - .Lcu1_begin» /* DW_AT_type */
50 » .long» » loclist»» » /* DW_AT_location */ 50 » .4byte» » loclist»» » /* DW_AT_location */
51 51
52 .uleb128 4 /* Abbrev: DW_TAG_inlined_subrou tine */ 52 .uleb128 4 /* Abbrev: DW_TAG_inlined_subrou tine */
53 .ascii "inlined\0" /* DW_AT_name */ 53 .ascii "inlined\0" /* DW_AT_name */
54 .4byte func0 /* DW_AT_low_pc */ 54 .4byte func0 /* DW_AT_low_pc */
55 .4byte func1 /* DW_AT_high_pc */ 55 .4byte func1 /* DW_AT_high_pc */
56 .byte 3 /* DW_AT_inline (DW_INL_declared _inlined) */ 56 .byte 3 /* DW_AT_inline (DW_INL_declared _inlined) */
57 .byte 1 /* DW_AT_call_file */ 57 .byte 1 /* DW_AT_call_file */
58 .byte 8 /* DW_AT_call_line */ 58 .byte 8 /* DW_AT_call_line */
59 59
60 .uleb128 4 /* Abbrev: DW_TAG_inlined_subrou tine */ 60 .uleb128 4 /* Abbrev: DW_TAG_inlined_subrou tine */
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 .byte 4 /* DW_AT_byte_size */ 108 .byte 4 /* DW_AT_byte_size */
109 .byte 5 /* DW_AT_encoding */ 109 .byte 5 /* DW_AT_encoding */
110 110
111 .byte 0 /* End of children of CU */ 111 .byte 0 /* End of children of CU */
112 112
113 .Lcu1_end: 113 .Lcu1_end:
114 114
115 .section .debug_loc 115 .section .debug_loc
116 loclist: 116 loclist:
117 /* Reset the location list base address first. */ 117 /* Reset the location list base address first. */
118 » .long» » -1, 0 118 » .4byte» » -1, 0
119 119
120 » .long» » func_start, func_end 120 » .4byte» » func_start, func_end
121 .2byte 2f-1f 121 .2byte 2f-1f
122 1: .byte 0x50 /* DW_OP_reg0 */ 122 1: .byte 0x50 /* DW_OP_reg0 */
123 2: 123 2:
124 /* Location list end. */ 124 /* Location list end. */
125 » .long» 0, 0 125 » .4byte» 0, 0
126 126
127 /* Abbrev table */ 127 /* Abbrev table */
128 .section .debug_abbrev 128 .section .debug_abbrev
129 .Labbrev1_begin: 129 .Labbrev1_begin:
130 .uleb128 1 /* Abbrev code */ 130 .uleb128 1 /* Abbrev code */
131 .uleb128 0x11 /* DW_TAG_compile_unit */ 131 .uleb128 0x11 /* DW_TAG_compile_unit */
132 .byte 1 /* has_children */ 132 .byte 1 /* has_children */
133 .uleb128 0x10 /* DW_AT_stmt_list */ 133 .uleb128 0x10 /* DW_AT_stmt_list */
134 .uleb128 0x6 /* DW_FORM_data4 */ 134 .uleb128 0x6 /* DW_FORM_data4 */
135 .uleb128 0x11 /* DW_AT_low_pc */ 135 .uleb128 0x11 /* DW_AT_low_pc */
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 .byte 2 382 .byte 2
383 .4byte fund_end 383 .4byte fund_end
384 384
385 /* Line numbering end. */ 385 /* Line numbering end. */
386 386
387 .byte 0 /* DW_LNE_end_of_sequence */ 387 .byte 0 /* DW_LNE_end_of_sequence */
388 .uleb128 1 388 .uleb128 1
389 .byte 1 389 .byte 1
390 390
391 .Lline1_end: 391 .Lline1_end:
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698