* gdb.base/sep.exp: No longer setup_kfail when the program was
built with dwarf2.
This commit is contained in:
parent
e59763172f
commit
bd7f6e305c
@ -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
|
||||
|
@ -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 .*" {
|
||||
|
Loading…
Reference in New Issue
Block a user