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

Side by Side Diff: gdb/testsuite/gdb.dwarf2/dw2-entry-value.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 /* Copyright 2011-2012 Free Software Foundation, Inc. 1 /* Copyright 2011-2012 Free Software Foundation, Inc.
2 2
3 This program is free software; you can redistribute it and/or modify 3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by 4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 3 of the License, or 5 the Free Software Foundation; either version 3 of the License, or
6 (at your option) any later version. 6 (at your option) any later version.
7 7
8 This program is distributed in the hope that it will be useful, 8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of 9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details. 11 GNU General Public License for more details.
12 12
13 You should have received a copy of the GNU General Public License 13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 14 along with this program. If not, see <http://www.gnu.org/licenses/>. */
15 15
16 .section .debug_info 16 .section .debug_info
17 debug_start: 17 debug_start:
18 » .long» debug_end - 1f» /* Length of Compilation Unit Info */ 18 » .4byte» debug_end - 1f» /* Length of Compilation Unit Info */
19 1: 19 1:
20 .2byte 0x3 /* DWARF version number */ 20 .2byte 0x3 /* DWARF version number */
21 » .long» .Ldebug_abbrev0»/* Offset Into Abbrev. Section */ 21 » .4byte» .Ldebug_abbrev0»/* Offset Into Abbrev. Section */
22 .byte 0x4 /* Pointer Size (in bytes) */ 22 .byte 0x4 /* Pointer Size (in bytes) */
23 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */ 23 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
24 .ascii "GNU C 4.4.3\0" /* DW_AT_producer */ 24 .ascii "GNU C 4.4.3\0" /* DW_AT_producer */
25 .byte 0x1 /* DW_AT_language */ 25 .byte 0x1 /* DW_AT_language */
26 .ascii "1.c\0" /* DW_AT_name */ 26 .ascii "1.c\0" /* DW_AT_name */
27 .uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */ 27 .uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
28 .ascii "f\0" /* DW_AT_name */ 28 .ascii "f\0" /* DW_AT_name */
29 » .long» f_start»/* DW_AT_low_pc */ 29 » .4byte» f_start»/* DW_AT_low_pc */
30 » .long» f_end» /* DW_AT_high_pc */ 30 » .4byte» f_end» /* DW_AT_high_pc */
31 .byte 0x1 /* DW_AT_prototyped */ 31 .byte 0x1 /* DW_AT_prototyped */
32 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */ 32 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
33 .ascii "param\0" /* DW_AT_name */ 33 .ascii "param\0" /* DW_AT_name */
34 » .long» type - debug_start» /* DW_AT_type */ 34 » .4byte» type - debug_start» /* DW_AT_type */
35 » .long» loclist»/* DW_AT_location */ 35 » .4byte» loclist»/* DW_AT_location */
36 .byte 0x0 /* end of children of DIE 0x3c */ 36 .byte 0x0 /* end of children of DIE 0x3c */
37 type: 37 type:
38 .uleb128 3 /* Abbrev: DW_TAG_base_type */ 38 .uleb128 3 /* Abbrev: DW_TAG_base_type */
39 .ascii "int\0" /* DW_AT_name */ 39 .ascii "int\0" /* DW_AT_name */
40 .byte 4 /* DW_AT_byte_size */ 40 .byte 4 /* DW_AT_byte_size */
41 .byte 5 /* DW_AT_encoding */ 41 .byte 5 /* DW_AT_encoding */
42 42
43 .byte 0x0 /* end of children of DIE 0xb */ 43 .byte 0x0 /* end of children of DIE 0xb */
44 debug_end: 44 debug_end:
45 45
46 .section .debug_loc 46 .section .debug_loc
47 loclist: 47 loclist:
48 » .long» f_start, f_end 48 » .4byte» f_start, f_end
49 .2byte 2f-1f 49 .2byte 2f-1f
50 1: .byte 0xf3 /* DW_OP_GNU_entry_value */ 50 1: .byte 0xf3 /* DW_OP_GNU_entry_value */
51 .uleb128 2f-3f 51 .uleb128 2f-3f
52 3: .byte 0x50 /* DW_OP_reg0 */ 52 3: .byte 0x50 /* DW_OP_reg0 */
53 2: 53 2:
54 » .long» 0, 0 54 » .4byte» 0, 0
55 55
56 .section .debug_abbrev 56 .section .debug_abbrev
57 .Ldebug_abbrev0: 57 .Ldebug_abbrev0:
58 .uleb128 0x1 /* (abbrev code) */ 58 .uleb128 0x1 /* (abbrev code) */
59 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */ 59 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
60 .byte 0x1 /* DW_children_yes */ 60 .byte 0x1 /* DW_children_yes */
61 .uleb128 0x25 /* (DW_AT_producer) */ 61 .uleb128 0x25 /* (DW_AT_producer) */
62 .uleb128 0x8 /* (DW_FORM_string) */ 62 .uleb128 0x8 /* (DW_FORM_string) */
63 .uleb128 0x13 /* (DW_AT_language) */ 63 .uleb128 0x13 /* (DW_AT_language) */
64 .uleb128 0xb /* (DW_FORM_data1) */ 64 .uleb128 0xb /* (DW_FORM_data1) */
(...skipping 30 matching lines...) Expand all
95 .byte 0x0 /* DW_children_no */ 95 .byte 0x0 /* DW_children_no */
96 .uleb128 0x3 /* DW_AT_name */ 96 .uleb128 0x3 /* DW_AT_name */
97 .uleb128 0x8 /* DW_FORM_string */ 97 .uleb128 0x8 /* DW_FORM_string */
98 .uleb128 0x49 /* (DW_AT_type) */ 98 .uleb128 0x49 /* (DW_AT_type) */
99 .uleb128 0x13 /* (DW_FORM_ref4) */ 99 .uleb128 0x13 /* (DW_FORM_ref4) */
100 .uleb128 0x02 /* (DW_AT_location) */ 100 .uleb128 0x02 /* (DW_AT_location) */
101 .uleb128 0x06 /* (DW_FORM_data4) */ 101 .uleb128 0x06 /* (DW_FORM_data4) */
102 .byte 0x0 102 .byte 0x0
103 .byte 0x0 103 .byte 0x0
104 .byte 0x0 104 .byte 0x0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-filename.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698