aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-05-06 21:32:01 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-05-06 21:32:01 +0000
commitbd7f6e305cba2bc1c830d82eb28a062656b17407 (patch)
tree5a5e7ccd884bcc1f66a4d01eb828eedd9ced3119
parente59763172f0ba262bc2b0452db6fb816c457bba3 (diff)
downloadgdb-bd7f6e305cba2bc1c830d82eb28a062656b17407.zip
gdb-bd7f6e305cba2bc1c830d82eb28a062656b17407.tar.gz
gdb-bd7f6e305cba2bc1c830d82eb28a062656b17407.tar.bz2
* gdb.base/sep.exp: No longer setup_kfail when the program was
built with dwarf2.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/sep.exp20
2 files changed, 5 insertions, 20 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6def1a4..5347517 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-06 Joel Brobecker <brobecker@gnat.com>
+
+ * gdb.base/sep.exp: No longer setup_kfail when the program was
+ built with dwarf2.
+
2004-05-05 Jim Ingham <jingham@apple.com>
* 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 2e51e32..7a7c22a 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 .*" {