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

Side by Side Diff: gdb/testsuite/gdb.dwarf2/dw2-intercu.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
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-intercu.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2004, 2007-2012 Free Software Foundation, Inc. 3 Copyright 2004, 2007-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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 .ascii "file1.txt\0" /* DW_AT_name */ 51 .ascii "file1.txt\0" /* DW_AT_name */
52 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */ 52 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */
53 .byte 1 /* DW_AT_language (C) */ 53 .byte 1 /* DW_AT_language (C) */
54 54
55 /* func_cu1 */ 55 /* func_cu1 */
56 .uleb128 2 /* Abbrev: DW_TAG_subprogram */ 56 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
57 .byte 1 /* DW_AT_external */ 57 .byte 1 /* DW_AT_external */
58 .byte 1 /* DW_AT_decl_file */ 58 .byte 1 /* DW_AT_decl_file */
59 .byte 2 /* DW_AT_decl_line */ 59 .byte 2 /* DW_AT_decl_line */
60 .ascii "func_cu1\0" /* DW_AT_name */ 60 .ascii "func_cu1\0" /* DW_AT_name */
61 » .4byte» » .Ltype_int_in_cu2» /* DW_AT_type */ 61 » .4byte» » .Ltype_int2_in_cu2» /* DW_AT_type */
62 .4byte .Lbegin_func_cu1 /* DW_AT_low_pc */ 62 .4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
63 .4byte .Lend_func_cu1 /* DW_AT_high_pc */ 63 .4byte .Lend_func_cu1 /* DW_AT_high_pc */
64 .byte 1 /* DW_AT_frame_base: length */ 64 .byte 1 /* DW_AT_frame_base: length */
65 .byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */ 65 .byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
66 66
67 .byte 0 /* End of children of CU */ 67 .byte 0 /* End of children of CU */
68 68
69 .Lcu1_end: 69 .Lcu1_end:
70 70
71 /* Second compilation unit. */ 71 /* Second compilation unit. */
72 .Lcu2_begin: 72 .Lcu2_begin:
73 /* CU header */ 73 /* CU header */
74 .4byte .Lcu2_end - .Lcu2_start /* Length of Compilation Unit */ 74 .4byte .Lcu2_end - .Lcu2_start /* Length of Compilation Unit */
75 .Lcu2_start: 75 .Lcu2_start:
76 .2byte 2 /* DWARF Version */ 76 .2byte 2 /* DWARF Version */
77 .4byte .Labbrev2_begin /* Offset into abbrev section */ 77 .4byte .Labbrev2_begin /* Offset into abbrev section */
78 .byte 4 /* Pointer size */ 78 .byte 4 /* Pointer size */
79 79
80 /* CU die */ 80 /* CU die */
81 .uleb128 1 /* Abbrev: DW_TAG_compile_unit * / 81 .uleb128 1 /* Abbrev: DW_TAG_compile_unit * /
82 .ascii "file1.txt\0" /* DW_AT_name */ 82 .ascii "file1.txt\0" /* DW_AT_name */
83 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */ 83 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */
84 .byte 1 /* DW_AT_language (C) */ 84 .byte 1 /* DW_AT_language (C) */
85 85
86 .Ltype_int_in_cu2: 86 » /* This type is named "int2" and not "int" to ensure it is unique,
87 » and thus we can easily ensure we expand this CU and not some
88 » other CU with "int". */
89 .Ltype_int2_in_cu2:
87 .uleb128 2 /* Abbrev: DW_TAG_base_type */ 90 .uleb128 2 /* Abbrev: DW_TAG_base_type */
88 » .ascii» » "int\0"»» » /* DW_AT_name */ 91 » .ascii» » "int2\0"» » /* DW_AT_name */
89 .byte 4 /* DW_AT_byte_size */ 92 .byte 4 /* DW_AT_byte_size */
90 .byte 5 /* DW_AT_encoding */ 93 .byte 5 /* DW_AT_encoding */
91 94
92 .byte 0 /* End of children of CU */ 95 .byte 0 /* End of children of CU */
93 96
94 .Lcu2_end: 97 .Lcu2_end:
95 98
96 /* Abbrev table */ 99 /* Abbrev table */
97 .section .debug_abbrev 100 .section .debug_abbrev
98 .Labbrev1_begin: 101 .Labbrev1_begin:
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 .byte 0 /* DW_LNE_set_address */ 228 .byte 0 /* DW_LNE_set_address */
226 .uleb128 5 229 .uleb128 5
227 .byte 2 230 .byte 2
228 .4byte .Lend_func_cu1 231 .4byte .Lend_func_cu1
229 232
230 .byte 0 /* DW_LNE_end_of_sequence */ 233 .byte 0 /* DW_LNE_end_of_sequence */
231 .uleb128 1 234 .uleb128 1
232 .byte 1 235 .byte 1
233 236
234 .Lline1_end: 237 .Lline1_end:
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-intercu.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698