| OLD | NEW |
| 1 /* This testcase is part of GDB, the GNU debugger. | 1 /* This testcase is part of GDB, the GNU debugger. |
| 2 | 2 |
| 3 Copyright 2009, 2011-2012 Free Software Foundation, Inc. | 3 Copyright 2009, 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, |
| 11 but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 GNU General Public License for more details. | 13 GNU General Public License for more details. |
| 14 | 14 |
| 15 You should have received a copy of the GNU General Public License | 15 You should have received a copy of the GNU General Public License |
| 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 17 | 17 |
| 18 /* Test DW_OP_call2 and DW_OP_call4, PR gdb/10640. */ | 18 /* Test DW_OP_call2 and DW_OP_call4, PR gdb/10640. */ |
| 19 | 19 |
| 20 .section .data | 20 .section .data |
| 21 array1: .2byte 1 | 21 array1: .2byte 1 |
| 22 array2: .2byte 2 | 22 array2: .2byte 2 |
| 23 array3: .2byte 3 | 23 array3: .2byte 3 |
| 24 | 24 |
| 25 .section .debug_info | 25 .section .debug_info |
| 26 .Lcu0_begin: |
| 27 /* CU header */ |
| 28 .4byte .Lcu0_end - .Lcu0_start /* Length of Compilation Unit */ |
| 29 .Lcu0_start: |
| 30 .2byte 2 /* DWARF Version */ |
| 31 .4byte .Labbrev1_begin /* Offset into abbrev section */ |
| 32 .byte 4 /* Pointer size */ |
| 33 |
| 34 /* CU die */ |
| 35 .uleb128 1 /* Abbrev: DW_TAG_compile_unit *
/ |
| 36 .ascii "file0.txt\0" /* DW_AT_name */ |
| 37 .ascii "GNU C 3.3.3\0" /* DW_AT_producer */ |
| 38 .byte 2 /* DW_LANG_C (C) */ |
| 39 |
| 40 .byte 0 /* End of children of CU */ |
| 41 .Lcu0_end: |
| 42 |
| 26 .Lcu1_begin: | 43 .Lcu1_begin: |
| 27 /* CU header */ | 44 /* CU header */ |
| 28 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */ | 45 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */ |
| 29 .Lcu1_start: | 46 .Lcu1_start: |
| 30 .2byte 2 /* DWARF Version */ | 47 .2byte 2 /* DWARF Version */ |
| 31 .4byte .Labbrev1_begin /* Offset into abbrev section */ | 48 .4byte .Labbrev1_begin /* Offset into abbrev section */ |
| 32 .byte 4 /* Pointer size */ | 49 .byte 4 /* Pointer size */ |
| 33 | 50 |
| 34 /* CU die */ | 51 /* CU die */ |
| 35 .uleb128 1 /* Abbrev: DW_TAG_compile_unit *
/ | 52 .uleb128 1 /* Abbrev: DW_TAG_compile_unit *
/ |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 .uleb128 0x8 /* DW_FORM_string */ | 159 .uleb128 0x8 /* DW_FORM_string */ |
| 143 .uleb128 0x49 /* DW_AT_type */ | 160 .uleb128 0x49 /* DW_AT_type */ |
| 144 .uleb128 0x13 /* DW_FORM_ref4 */ | 161 .uleb128 0x13 /* DW_FORM_ref4 */ |
| 145 .uleb128 0x2 /* DW_AT_location */ | 162 .uleb128 0x2 /* DW_AT_location */ |
| 146 .uleb128 0x06 /* DW_FORM_data4 */ | 163 .uleb128 0x06 /* DW_FORM_data4 */ |
| 147 .byte 0x0 /* Terminator */ | 164 .byte 0x0 /* Terminator */ |
| 148 .byte 0x0 /* Terminator */ | 165 .byte 0x0 /* Terminator */ |
| 149 | 166 |
| 150 .byte 0x0 /* Terminator */ | 167 .byte 0x0 /* Terminator */ |
| 151 .byte 0x0 /* Terminator */ | 168 .byte 0x0 /* Terminator */ |
| OLD | NEW |