From: Joel Brobecker Date: Thu, 6 May 2004 21:32:01 +0000 (+0000) Subject: * gdb.base/sep.exp: No longer setup_kfail when the program was X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd7f6e305cba2bc1c830d82eb28a062656b17407;p=binutils-gdb.git * gdb.base/sep.exp: No longer setup_kfail when the program was built with dwarf2. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6def1a4ca53..534751781f0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-05-06 Joel Brobecker + + * gdb.base/sep.exp: No longer setup_kfail when the program was + built with dwarf2. + 2004-05-05 Jim Ingham * gdb.base/pending.exp: Make sure pending breakpoints diff --git a/gdb/testsuite/gdb.base/sep.exp b/gdb/testsuite/gdb.base/sep.exp index 2e51e32962a..7a7c22ae1b6 100644 --- a/gdb/testsuite/gdb.base/sep.exp +++ b/gdb/testsuite/gdb.base/sep.exp @@ -29,18 +29,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -# Get the debug info format, using the get_debug_format. -# Note that the function above needs the current source file to be set, -# so we need to send a dummy command first which side effect is to set -# the current source file. -gdb_exit -gdb_start -gdb_load ${binfile} -gdb_test "list sep.c:1" ".*" "dummy command to set the current source file" -get_debug_format - -# We need to restart the debugger, because the method used to compute -# the debug format (above) affects this testcase. gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir @@ -56,10 +44,6 @@ gdb_load ${binfile} # say_hello is good enough, and avoid unnecessary failures is someone # decides later to reformat sep-proc.c. -if { [test_debug_format "DWARF 2"] } then { - setup_kfail "symtab/1607" *-*-* -} - gdb_test "list sep-proc.c:23" \ "void.*say_hello.*" \ "list using location inside included file" @@ -72,10 +56,6 @@ gdb_start gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} -if { [test_debug_format "DWARF 2"] } then { - setup_kfail "symtab/1607" *-*-* -} - set test "breakpoint inside included file" gdb_test_multiple "break sep-proc.c:25" "$test" { -re "Breakpoint.*at.* file .*sep-proc.c, line .*" {