gdb/doc/
[binutils-gdb.git] / gdb / testsuite / gdb.base / sepdebug.exp
index bb0b9141febacb33458682c07c94f38da55337c9..90fe4ecca841e4cf74059735601e00ad24d216a0 100644 (file)
@@ -64,9 +64,6 @@ if { $gdb_file_cmd_debug_info != "debug" } then {
     fail "No debug information found."
 }
 
-if [target_info exists gdb_stub] {
-    gdb_step_for_stub;
-}
 #
 # test simple breakpoint setting commands
 #
@@ -144,14 +141,7 @@ gdb_test "break multi_line_while_conditional" \
 set bp_location5 [gdb_get_line_number "set breakpoint 5 here"]
 set bp_location6 [gdb_get_line_number "set breakpoint 6 here"]
 
-#
-# check to see what breakpoints are set
-#
-if [target_info exists gdb_stub] {
-    set main_line $bp_location5
-} else {
-    set main_line $bp_location6
-}
+set main_line $bp_location6
 
 set bp_location7 [gdb_get_line_number "set breakpoint 7 here"]
 set bp_location8 [gdb_get_line_number "set breakpoint 8 here"]
@@ -673,10 +663,6 @@ proc test_different_dir {type test_different_dir xfail} {
        "set separate debug location"
     gdb_load ${binfile}
 
-    if [target_info exists gdb_stub] {
-       gdb_step_for_stub;
-    }
-
     #
     # test break at function
     #