Remove setup_kfail server/13796 in disp-step-syscall.exp
authorYao Qi <yao.qi@linaro.org>
Thu, 18 Feb 2016 13:02:12 +0000 (13:02 +0000)
committerYao Qi <yao.qi@linaro.org>
Thu, 18 Feb 2016 13:02:12 +0000 (13:02 +0000)
This patch series add fork support in target remote,

  [PATCH v2 0/3] Target remote mode fork and exec support
  https://sourceware.org/ml/gdb-patches/2015-12/msg00144.html

so GDB can be informed about the child, and adjust child correctly in
displaced stepping.  The PR server/13796 was fixed by this patch
series actually.  Test results on buildbot show this KFAIL->KPASS
change https://sourceware.org/ml/gdb-testers/2015-q4/msg10128.html

gdb/testsuite:

2016-02-18  Yao Qi  <yao.qi@linaro.org>

* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
Don't call setup_kfail.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/disp-step-syscall.exp

index 1851c30cce2a8e5e9a6eb4996f4521ed412f12e4..6882495b4c7551a415917084a447d56f8f08adeb 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-18  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
+       Don't call setup_kfail.
+
 2016-02-18  Yao Qi  <yao.qi@linaro.org>
 
        * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
index 7426ee7fa59b479b9493d3f37bcde2e6b9660f10..80cdc3b151402e3a7ea4b3039a24d67bf9ea6019 100644 (file)
@@ -49,8 +49,6 @@ proc disp_step_cross_syscall { syscall } {
            return
        }
 
-       set is_target_remote [gdb_is_target_remote]
-
        # Delete the breakpoint on main.
        gdb_test_no_output "delete break 1"
 
@@ -130,10 +128,6 @@ proc disp_step_cross_syscall { syscall } {
        gdb_test_no_output "set displaced-stepping on"
 
        # Check the address of next instruction of syscall.
-       if {$syscall == "vfork" && $is_target_remote} {
-           setup_kfail server/13796 "*-*-*"
-       }
-
        if {[gdb_test "stepi" "x/i .*=>.*" "single step over $syscall"] != 0} {
            return -1
        }