append GDBFLAGS " -iex \"maint set dwarf synchronous on\""
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
}
standard_testfile .c -dw.S
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
- return -1
+ return
}
# Make some DWARF for the test.
verbose "result is $result"
verbose "output is $output"
if {$result != 0} {
- return -1
+ return
}
gdb_load ${binfile_stripped}
gdb_test_no_output "maintenance set ignore-prologue-end-flag on"
if {![runto_main]} {
- return -1
+ return
}
# If we ignore the prologue-end flag, we should stop at the first statement
with_test_prefix non-symlink {
if { [prepare_for_testing "failed to prepare" "${testfile}" \
[list ${srcfile}]] } {
- return -1
+ return
}
if { [ensure_gdb_index $binfile] == -1 } {
untested "error adding gdb index"
- return -1
+ return
}
}
lassign [local_add_gdb_index $binfile] binfile_with_index host_binfile_with_index
set testfile_with_index [file tail $binfile_with_index]
if { ${binfile_with_index} == "" } {
- return -1
+ return
}
}
-re ".*${gdb_prompt} $" {
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
if { ![runto_main] } {
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
if { ![runto_main] } {
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
if { ![runto_main] } {
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
if { ![runto_main] } {
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
# Sanity checks to make sure GDB slurped the symbols correctly.
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
# Sanity checks to make sure GDB slurped the symbols correctly.
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {
- return -1
+ return
}
}