This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove setup_kfail server/13796 in disp-step-syscall.exp


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2d5189bd3a6e2014b9b42a4bcb0df410eff1c2e1

commit 2d5189bd3a6e2014b9b42a4bcb0df410eff1c2e1
Author: Yao Qi <yao.qi@linaro.org>
Date:   Thu Feb 18 13:02:12 2016 +0000

    Remove setup_kfail server/13796 in disp-step-syscall.exp
    
    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.

Diff:
---
 gdb/testsuite/ChangeLog                      | 5 +++++
 gdb/testsuite/gdb.base/disp-step-syscall.exp | 6 ------
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1851c30..6882495 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
 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):
 	Set "set breakpoint condition-evaluation" per $cond_bp_target.
 
diff --git a/gdb/testsuite/gdb.base/disp-step-syscall.exp b/gdb/testsuite/gdb.base/disp-step-syscall.exp
index 7426ee7..80cdc3b 100644
--- a/gdb/testsuite/gdb.base/disp-step-syscall.exp
+++ b/gdb/testsuite/gdb.base/disp-step-syscall.exp
@@ -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
 	}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]