mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-27 03:54:29 +00:00
gdb/testsuite/
* gdb.dwarf2/dw2-ref-missing-frame-main.c: New. * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output by a hand made one. * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove i?86 requirement. Remove variables srcfile and binfile. New variable sources, executable_nofb and executable_fb. Call prepare_for_testing.
This commit is contained in:
parent
1b3d1dbfad
commit
af76db58d7
@ -1,3 +1,12 @@
|
|||||||
|
2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
|
||||||
|
* gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
|
||||||
|
by a hand made one.
|
||||||
|
* gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
|
||||||
|
i?86 requirement. Remove variables srcfile and binfile. New variable
|
||||||
|
sources, executable_nofb and executable_fb. Call prepare_for_testing.
|
||||||
|
|
||||||
2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||||
|
|
||||||
* gdb.cell/dwarfaddr.exp: New file.
|
* gdb.cell/dwarfaddr.exp: New file.
|
||||||
|
30
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-main.c
Normal file
30
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-main.c
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/* This testcase is part of GDB, the GNU debugger.
|
||||||
|
|
||||||
|
Copyright 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
asm (".globl main_start");
|
||||||
|
asm ("main_start:");
|
||||||
|
|
||||||
|
int
|
||||||
|
main (void)
|
||||||
|
{
|
||||||
|
/* int main_var; */
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
asm (".globl main_end");
|
||||||
|
asm ("main_end:");
|
@ -1,301 +1,128 @@
|
|||||||
.file "ref-missing-frame.c"
|
/* This testcase is part of GDB, the GNU debugger.
|
||||||
.section .debug_abbrev,"",@progbits
|
|
||||||
.Ldebug_abbrev0:
|
Copyright 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
.section .debug_info,"",@progbits
|
|
||||||
.Ldebug_info0:
|
This program is free software; you can redistribute it and/or modify
|
||||||
.section .debug_line,"",@progbits
|
it under the terms of the GNU General Public License as published by
|
||||||
.Ldebug_line0:
|
the Free Software Foundation; either version 3 of the License, or
|
||||||
.text
|
(at your option) any later version.
|
||||||
.Ltext0:
|
|
||||||
.globl main
|
This program is distributed in the hope that it will be useful,
|
||||||
.type main, @function
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
main:
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
.LFB2:
|
GNU General Public License for more details.
|
||||||
.file 1 "ref-missing-frame.c"
|
|
||||||
.loc 1 3 0
|
You should have received a copy of the GNU General Public License
|
||||||
leal 4(%esp), %ecx
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
.LCFI0:
|
|
||||||
andl $-16, %esp
|
/* Debug information */
|
||||||
pushl -4(%ecx)
|
|
||||||
.LCFI1:
|
|
||||||
pushl %ebp
|
|
||||||
.LCFI2:
|
|
||||||
movl %esp, %ebp
|
|
||||||
.LCFI3:
|
|
||||||
pushl %ecx
|
|
||||||
.LCFI4:
|
|
||||||
subl $16, %esp
|
|
||||||
.LCFI5:
|
|
||||||
.loc 1 6 0
|
|
||||||
movl $0, %eax
|
|
||||||
.loc 1 7 0
|
|
||||||
addl $16, %esp
|
|
||||||
popl %ecx
|
|
||||||
popl %ebp
|
|
||||||
leal -4(%ecx), %esp
|
|
||||||
ret
|
|
||||||
.LFE2:
|
|
||||||
.size main, .-main
|
|
||||||
.section .debug_frame,"",@progbits
|
|
||||||
.Lframe0:
|
|
||||||
.long .LECIE0-.LSCIE0
|
|
||||||
.LSCIE0:
|
|
||||||
.long 0xffffffff
|
|
||||||
.byte 0x1
|
|
||||||
.string ""
|
|
||||||
.uleb128 0x1
|
|
||||||
.sleb128 -4
|
|
||||||
.byte 0x8
|
|
||||||
.byte 0xc
|
|
||||||
.uleb128 0x4
|
|
||||||
.uleb128 0x4
|
|
||||||
.byte 0x88
|
|
||||||
.uleb128 0x1
|
|
||||||
.align 4
|
|
||||||
.LECIE0:
|
|
||||||
.LSFDE0:
|
|
||||||
.long .LEFDE0-.LASFDE0
|
|
||||||
.LASFDE0:
|
|
||||||
.long .Lframe0
|
|
||||||
.long .LFB2
|
|
||||||
.long .LFE2-.LFB2
|
|
||||||
.byte 0x4
|
|
||||||
.long .LCFI0-.LFB2
|
|
||||||
.byte 0xc
|
|
||||||
.uleb128 0x1
|
|
||||||
.uleb128 0x0
|
|
||||||
.byte 0x9
|
|
||||||
.uleb128 0x4
|
|
||||||
.uleb128 0x1
|
|
||||||
.byte 0x4
|
|
||||||
.long .LCFI1-.LCFI0
|
|
||||||
.byte 0xc
|
|
||||||
.uleb128 0x4
|
|
||||||
.uleb128 0x4
|
|
||||||
.byte 0x4
|
|
||||||
.long .LCFI2-.LCFI1
|
|
||||||
.byte 0xe
|
|
||||||
.uleb128 0x8
|
|
||||||
.byte 0x85
|
|
||||||
.uleb128 0x2
|
|
||||||
.byte 0x4
|
|
||||||
.long .LCFI3-.LCFI2
|
|
||||||
.byte 0xd
|
|
||||||
.uleb128 0x5
|
|
||||||
.byte 0x4
|
|
||||||
.long .LCFI4-.LCFI3
|
|
||||||
.byte 0x84
|
|
||||||
.uleb128 0x3
|
|
||||||
.align 4
|
|
||||||
.LEFDE0:
|
|
||||||
.text
|
|
||||||
.Letext0:
|
|
||||||
.section .debug_loc,"",@progbits
|
|
||||||
.Ldebug_loc0:
|
|
||||||
.LLST0:
|
|
||||||
.long .LFB2-.Ltext0
|
|
||||||
.long .LCFI0-.Ltext0
|
|
||||||
.value 0x2
|
|
||||||
#if 0
|
|
||||||
.byte 0x74
|
|
||||||
#else
|
|
||||||
/* DW_OP_fbreg. */
|
|
||||||
.byte 0x91
|
|
||||||
#endif
|
|
||||||
.sleb128 4
|
|
||||||
.long .LCFI0-.Ltext0
|
|
||||||
.long .LCFI1-.Ltext0
|
|
||||||
.value 0x2
|
|
||||||
#if 0
|
|
||||||
.byte 0x74
|
|
||||||
#else
|
|
||||||
/* DW_OP_fbreg. */
|
|
||||||
.byte 0x91
|
|
||||||
#endif
|
|
||||||
.sleb128 4
|
|
||||||
.long .LCFI1-.Ltext0
|
|
||||||
.long .LCFI2-.Ltext0
|
|
||||||
.value 0x2
|
|
||||||
#if 0
|
|
||||||
.byte 0x74
|
|
||||||
#else
|
|
||||||
/* DW_OP_fbreg. */
|
|
||||||
.byte 0x91
|
|
||||||
#endif
|
|
||||||
.sleb128 4
|
|
||||||
.long .LCFI2-.Ltext0
|
|
||||||
.long .LCFI3-.Ltext0
|
|
||||||
.value 0x2
|
|
||||||
#if 0
|
|
||||||
.byte 0x74
|
|
||||||
#else
|
|
||||||
/* DW_OP_fbreg. */
|
|
||||||
.byte 0x91
|
|
||||||
#endif
|
|
||||||
.sleb128 8
|
|
||||||
.long .LCFI3-.Ltext0
|
|
||||||
.long .LFE2-.Ltext0
|
|
||||||
.value 0x2
|
|
||||||
#if 0
|
|
||||||
.byte 0x74
|
|
||||||
#else
|
|
||||||
/* DW_OP_fbreg. */
|
|
||||||
.byte 0x91
|
|
||||||
#endif
|
|
||||||
.sleb128 8
|
|
||||||
.long 0x0
|
|
||||||
.long 0x0
|
|
||||||
.section .debug_info
|
.section .debug_info
|
||||||
.long 0x5a
|
.Lcu1_begin:
|
||||||
.value 0x2
|
/* CU header */
|
||||||
.long .Ldebug_abbrev0
|
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
|
||||||
.byte 0x4
|
.Lcu1_start:
|
||||||
.uleb128 0x1
|
.2byte 2 /* DWARF Version */
|
||||||
.long .LASF0
|
.4byte .Labbrev1_begin /* Offset into abbrev section */
|
||||||
.byte 0x1
|
.byte 4 /* Pointer size */
|
||||||
.long .LASF1
|
|
||||||
.long .LASF2
|
/* CU die */
|
||||||
.long .Ltext0
|
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
|
||||||
.long .Letext0
|
.4byte main_end /* DW_AT_high_pc */
|
||||||
.long .Ldebug_line0
|
.4byte main_start /* DW_AT_low_pc */
|
||||||
.uleb128 0x2
|
.ascii "file1.txt\0" /* DW_AT_name */
|
||||||
.byte 0x1
|
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
|
||||||
.long .LASF3
|
.byte 1 /* DW_AT_language (C) */
|
||||||
.byte 0x1
|
|
||||||
.byte 0x3
|
.Ltype_int:
|
||||||
.byte 0x1
|
.uleb128 3 /* Abbrev: DW_TAG_base_type */
|
||||||
.long 0x51
|
.ascii "int\0" /* DW_AT_name */
|
||||||
.long .LFB2
|
.byte 4 /* DW_AT_byte_size */
|
||||||
.long .LFE2
|
.byte 5 /* DW_AT_encoding */
|
||||||
.long .LLST0 /* DW_AT_frame_base */
|
|
||||||
.long 0x51
|
/* func */
|
||||||
.uleb128 0x3
|
.uleb128 6 /* Abbrev: DW_TAG_subprogram */
|
||||||
.string "var"
|
.ascii "main\0" /* DW_AT_name */
|
||||||
.byte 0x1
|
.4byte main_start /* DW_AT_low_pc */
|
||||||
.byte 0x4
|
.4byte main_end /* DW_AT_high_pc */
|
||||||
.long 0x58
|
#ifndef NO_FRAME_BASE
|
||||||
.byte 0x2
|
.byte 2f - 1f /* DW_AT_frame_base */
|
||||||
.byte 0x91
|
1: .byte 0x91 /* DW_OP_fbreg */
|
||||||
.sleb128 -16
|
.sleb128 0 /* 0 */
|
||||||
.byte 0x0
|
2:
|
||||||
.uleb128 0x4
|
#endif
|
||||||
.byte 0x4
|
|
||||||
.byte 0x5
|
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
|
||||||
.string "int"
|
.ascii "main_var\0" /* DW_AT_name */
|
||||||
.uleb128 0x5
|
.byte 2f - 1f /* DW_AT_location */
|
||||||
.long 0x51
|
1: .byte 0x91 /* DW_OP_fbreg */
|
||||||
.byte 0x0
|
.sleb128 0 /* 0 */
|
||||||
|
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
|
||||||
|
|
||||||
|
.byte 0 /* End of children of func */
|
||||||
|
|
||||||
|
.byte 0 /* End of children of CU */
|
||||||
|
|
||||||
|
.Lcu1_end:
|
||||||
|
|
||||||
|
/* Abbrev table */
|
||||||
.section .debug_abbrev
|
.section .debug_abbrev
|
||||||
.uleb128 0x1
|
.Labbrev1_begin:
|
||||||
.uleb128 0x11
|
.uleb128 1 /* Abbrev code */
|
||||||
.byte 0x1
|
.uleb128 0x11 /* DW_TAG_compile_unit */
|
||||||
.uleb128 0x25
|
.byte 1 /* has_children */
|
||||||
.uleb128 0xe
|
.uleb128 0x12 /* DW_AT_high_pc */
|
||||||
.uleb128 0x13
|
.uleb128 0x1 /* DW_FORM_addr */
|
||||||
.uleb128 0xb
|
.uleb128 0x11 /* DW_AT_low_pc */
|
||||||
.uleb128 0x3
|
.uleb128 0x1 /* DW_FORM_addr */
|
||||||
.uleb128 0xe
|
.uleb128 0x3 /* DW_AT_name */
|
||||||
.uleb128 0x1b
|
.uleb128 0x8 /* DW_FORM_string */
|
||||||
.uleb128 0xe
|
.uleb128 0x25 /* DW_AT_producer */
|
||||||
.uleb128 0x11
|
.uleb128 0x8 /* DW_FORM_string */
|
||||||
.uleb128 0x1
|
.uleb128 0x13 /* DW_AT_language */
|
||||||
.uleb128 0x12
|
.uleb128 0xb /* DW_FORM_data1 */
|
||||||
.uleb128 0x1
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0x10
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0x6
|
|
||||||
.byte 0x0
|
.uleb128 3 /* Abbrev code */
|
||||||
.byte 0x0
|
.uleb128 0x24 /* DW_TAG_base_type */
|
||||||
.uleb128 0x2
|
.byte 0 /* has_children */
|
||||||
.uleb128 0x2e
|
.uleb128 0x3 /* DW_AT_name */
|
||||||
.byte 0x1
|
.uleb128 0x8 /* DW_FORM_string */
|
||||||
.uleb128 0x3f
|
.uleb128 0xb /* DW_AT_byte_size */
|
||||||
.uleb128 0xc
|
.uleb128 0xb /* DW_FORM_data1 */
|
||||||
.uleb128 0x3
|
.uleb128 0x3e /* DW_AT_encoding */
|
||||||
.uleb128 0xe
|
.uleb128 0xb /* DW_FORM_data1 */
|
||||||
.uleb128 0x3a
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0xb
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0x3b
|
|
||||||
.uleb128 0xb
|
.uleb128 6 /* Abbrev code */
|
||||||
.uleb128 0x27
|
.uleb128 0x2e /* DW_TAG_subprogram */
|
||||||
.uleb128 0xc
|
.byte 1 /* has_children */
|
||||||
.uleb128 0x49
|
.uleb128 0x3 /* DW_AT_name */
|
||||||
.uleb128 0x13
|
.uleb128 0x8 /* DW_FORM_string */
|
||||||
.uleb128 0x11
|
.uleb128 0x11 /* DW_AT_low_pc */
|
||||||
.uleb128 0x1
|
.uleb128 0x1 /* DW_FORM_addr */
|
||||||
.uleb128 0x12
|
.uleb128 0x12 /* DW_AT_high_pc */
|
||||||
.uleb128 0x1
|
.uleb128 0x1 /* DW_FORM_addr */
|
||||||
#ifndef NO_FRAME_BASE
|
#ifndef NO_FRAME_BASE
|
||||||
.uleb128 0x40 /* DW_AT_frame_base */
|
.uleb128 0x40 /* DW_AT_frame_base */
|
||||||
#else
|
.uleb128 0xa /* DW_FORM_block1 */
|
||||||
.uleb128 0x38 /* DW_AT_data_member_location */
|
|
||||||
#endif
|
#endif
|
||||||
.uleb128 0x6
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0x1
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0x13
|
|
||||||
.byte 0x0
|
.uleb128 7 /* Abbrev code (location) */
|
||||||
.byte 0x0
|
.uleb128 0x34 /* DW_TAG_variable */
|
||||||
.uleb128 0x3
|
.byte 0 /* has_children */
|
||||||
.uleb128 0x34
|
.uleb128 0x3 /* DW_AT_name */
|
||||||
.byte 0x0
|
.uleb128 0x8 /* DW_FORM_string */
|
||||||
.uleb128 0x3
|
.uleb128 0x2 /* DW_AT_location */
|
||||||
.uleb128 0x8
|
.uleb128 0xa /* DW_FORM_block1 */
|
||||||
.uleb128 0x3a
|
.uleb128 0x49 /* DW_AT_type */
|
||||||
.uleb128 0xb
|
.uleb128 0x13 /* DW_FORM_ref4 */
|
||||||
.uleb128 0x3b
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0xb
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0x49
|
|
||||||
.uleb128 0x13
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0x2
|
.byte 0x0 /* Terminator */
|
||||||
.uleb128 0xa
|
|
||||||
.byte 0x0
|
|
||||||
.byte 0x0
|
|
||||||
.uleb128 0x4
|
|
||||||
.uleb128 0x24
|
|
||||||
.byte 0x0
|
|
||||||
.uleb128 0xb
|
|
||||||
.uleb128 0xb
|
|
||||||
.uleb128 0x3e
|
|
||||||
.uleb128 0xb
|
|
||||||
.uleb128 0x3
|
|
||||||
.uleb128 0x8
|
|
||||||
.byte 0x0
|
|
||||||
.byte 0x0
|
|
||||||
.uleb128 0x5
|
|
||||||
.uleb128 0x35
|
|
||||||
.byte 0x0
|
|
||||||
.uleb128 0x49
|
|
||||||
.uleb128 0x13
|
|
||||||
.byte 0x0
|
|
||||||
.byte 0x0
|
|
||||||
.byte 0x0
|
|
||||||
.section .debug_pubnames,"",@progbits
|
|
||||||
.long 0x17
|
|
||||||
.value 0x2
|
|
||||||
.long .Ldebug_info0
|
|
||||||
.long 0x5e
|
|
||||||
.long 0x25
|
|
||||||
.string "main"
|
|
||||||
.long 0x0
|
|
||||||
.section .debug_aranges,"",@progbits
|
|
||||||
.long 0x1c
|
|
||||||
.value 0x2
|
|
||||||
.long .Ldebug_info0
|
|
||||||
.byte 0x4
|
|
||||||
.byte 0x0
|
|
||||||
.value 0x0
|
|
||||||
.value 0x0
|
|
||||||
.long .Ltext0
|
|
||||||
.long .Letext0-.Ltext0
|
|
||||||
.long 0x0
|
|
||||||
.long 0x0
|
|
||||||
.section .debug_str,"MS",@progbits,1
|
|
||||||
.LASF0:
|
|
||||||
.string "GNU C 4.3.0 20080416 (Red Hat 4.3.0-7)"
|
|
||||||
.LASF2:
|
|
||||||
.string "/tmp"
|
|
||||||
.LASF1:
|
|
||||||
.string "ref-missing-frame.c"
|
|
||||||
.LASF3:
|
|
||||||
.string "main"
|
|
||||||
.ident "GCC: (GNU) 4.3.0 20080416 (Red Hat 4.3.0-7)"
|
|
||||||
.section .note.GNU-stack,"",@progbits
|
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# Minimal DWARF-2 unit test
|
|
||||||
|
|
||||||
# This test can only be run on targets which support DWARF-2 and use gas.
|
# This test can only be run on targets which support DWARF-2 and use gas.
|
||||||
# For now pick a sampling of likely targets.
|
# For now pick a sampling of likely targets.
|
||||||
if {![istarget *-*-linux*]
|
if {![istarget *-*-linux*]
|
||||||
@ -26,37 +24,26 @@ if {![istarget *-*-linux*]
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if {![istarget "i?86-*-*"]} then {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
set testfile "dw2-ref-missing-frame"
|
set testfile "dw2-ref-missing-frame"
|
||||||
set srcfile ${testfile}.S
|
set sources [list ${testfile}-main.c ${testfile}.S]
|
||||||
set binfile ${objdir}/${subdir}/${testfile}
|
|
||||||
|
|
||||||
# First try referencing DW_AT_frame_base which is not defined.
|
# First try referencing DW_AT_frame_base which is not defined.
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list {additional_flags=-DNO_FRAME_BASE}]] != "" } {
|
set executable_nofb ${testfile}-nofb
|
||||||
|
if { [prepare_for_testing ${testfile}.exp $executable_nofb $sources {nodebug additional_flags=-DNO_FRAME_BASE}] } {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
gdb_exit
|
if [runto_main] {
|
||||||
gdb_start
|
gdb_test "p main_var" {Could not find the frame base for "main".}
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
}
|
||||||
gdb_load ${binfile}
|
|
||||||
runto_main
|
|
||||||
|
|
||||||
gdb_test "p var" {Could not find the frame base for "main".}
|
|
||||||
|
|
||||||
# And now try referencing DW_AT_frame_base defined using a self-reference
|
# And now try referencing DW_AT_frame_base defined using a self-reference
|
||||||
# (DW_OP_fbreg).
|
# (DW_OP_fbreg).
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {}] != "" } {
|
set executable_fb ${testfile}-fb
|
||||||
|
if { [prepare_for_testing ${testfile}.exp $executable_fb $sources {nodebug}] } {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
gdb_exit
|
if [runto_main] {
|
||||||
gdb_start
|
gdb_test "p main_var" "DWARF-2 expression error: Loop detected .*"
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
}
|
||||||
gdb_load ${binfile}
|
|
||||||
runto_main
|
|
||||||
|
|
||||||
gdb_test "p var" "DWARF-2 expression error: Loop detected .*"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user