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

Side by Side Diff: gdb/testsuite/gdb.dwarf2/dw2-param-error.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 .text 16 .text
17 var: .4byte 23 17 var: .4byte 23
18 18
19 .section .debug_info 19 .section .debug_info
20 debug_start: 20 debug_start:
21 » .long» debug_end - 1f» /* Length of Compilation Unit Info */ 21 » .4byte» debug_end - 1f» /* Length of Compilation Unit Info */
22 1: 22 1:
23 .2byte 0x3 /* DWARF version number */ 23 .2byte 0x3 /* DWARF version number */
24 » .long» .Ldebug_abbrev0»/* Offset Into Abbrev. Section */ 24 » .4byte» .Ldebug_abbrev0»/* Offset Into Abbrev. Section */
25 .byte 0x4 /* Pointer Size (in bytes) */ 25 .byte 0x4 /* Pointer Size (in bytes) */
26 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */ 26 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
27 .ascii "GNU C 4.4.3\0" /* DW_AT_producer */ 27 .ascii "GNU C 4.4.3\0" /* DW_AT_producer */
28 .byte 0x1 /* DW_AT_language */ 28 .byte 0x1 /* DW_AT_language */
29 .ascii "1.c\0" /* DW_AT_name */ 29 .ascii "1.c\0" /* DW_AT_name */
30 .uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */ 30 .uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
31 .ascii "f\0" /* DW_AT_name */ 31 .ascii "f\0" /* DW_AT_name */
32 » .long» f_start»/* DW_AT_low_pc */ 32 » .4byte» f_start»/* DW_AT_low_pc */
33 » .long» f_end» /* DW_AT_high_pc */ 33 » .4byte» f_end» /* DW_AT_high_pc */
34 .byte 0x1 /* DW_AT_prototyped */ 34 .byte 0x1 /* DW_AT_prototyped */
35 35
36 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */ 36 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
37 .ascii "bad\0" /* DW_AT_name */ 37 .ascii "bad\0" /* DW_AT_name */
38 » .long» type - debug_start» /* DW_AT_type */ 38 » .4byte» type - debug_start» /* DW_AT_type */
39 .byte 2f - 1f /* DW_AT_location */ 39 .byte 2f - 1f /* DW_AT_location */
40 1: .byte 0x06 /* DW_OP_deref */ 40 1: .byte 0x06 /* DW_OP_deref */
41 2: 41 2:
42 .uleb128 0x5 /* (DIE (0x??) DW_TAG_formal_parameter) */ 42 .uleb128 0x5 /* (DIE (0x??) DW_TAG_formal_parameter) */
43 .ascii "good\0" /* DW_AT_name */ 43 .ascii "good\0" /* DW_AT_name */
44 » .long» type - debug_start» /* DW_AT_type */ 44 » .4byte» type - debug_start» /* DW_AT_type */
45 .byte 2f - 1f /* DW_AT_location */ 45 .byte 2f - 1f /* DW_AT_location */
46 1: .byte 0x03 /* DW_OP_addr */ 46 1: .byte 0x03 /* DW_OP_addr */
47 .4byte var 47 .4byte var
48 2: 48 2:
49 49
50 .byte 0x0 /* end of children of DIE 0x3c */ 50 .byte 0x0 /* end of children of DIE 0x3c */
51 type: 51 type:
52 .uleb128 3 /* Abbrev: DW_TAG_base_type */ 52 .uleb128 3 /* Abbrev: DW_TAG_base_type */
53 .ascii "int\0" /* DW_AT_name */ 53 .ascii "int\0" /* DW_AT_name */
54 .byte 4 /* DW_AT_byte_size */ 54 .byte 4 /* DW_AT_byte_size */
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 .byte 0x0 /* DW_children_no */ 99 .byte 0x0 /* DW_children_no */
100 .uleb128 0x3 /* DW_AT_name */ 100 .uleb128 0x3 /* DW_AT_name */
101 .uleb128 0x8 /* DW_FORM_string */ 101 .uleb128 0x8 /* DW_FORM_string */
102 .uleb128 0x49 /* (DW_AT_type) */ 102 .uleb128 0x49 /* (DW_AT_type) */
103 .uleb128 0x13 /* (DW_FORM_ref4) */ 103 .uleb128 0x13 /* (DW_FORM_ref4) */
104 .uleb128 0x02 /* (DW_AT_location) */ 104 .uleb128 0x02 /* (DW_AT_location) */
105 .uleb128 0x0a /* (DW_FORM_block1) */ 105 .uleb128 0x0a /* (DW_FORM_block1) */
106 .byte 0x0 106 .byte 0x0
107 .byte 0x0 107 .byte 0x0
108 .byte 0x0 108 .byte 0x0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-param-error.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698