public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Remove setup_kfail server/13796 in disp-step-syscall.exp
@ 2016-02-18 12:00 Yao Qi
  2016-02-18 12:06 ` Pedro Alves
  0 siblings, 1 reply; 2+ messages in thread
From: Yao Qi @ 2016-02-18 12:00 UTC (permalink / raw)
  To: gdb-patches

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/gdb.base/disp-step-syscall.exp | 6 ------
 1 file changed, 6 deletions(-)

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
 	}
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove setup_kfail server/13796 in disp-step-syscall.exp
  2016-02-18 12:00 [PATCH] Remove setup_kfail server/13796 in disp-step-syscall.exp Yao Qi
@ 2016-02-18 12:06 ` Pedro Alves
  0 siblings, 0 replies; 2+ messages in thread
From: Pedro Alves @ 2016-02-18 12:06 UTC (permalink / raw)
  To: Yao Qi, gdb-patches

On 02/18/2016 12:00 PM, Yao Qi wrote:
> 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.

OK.

Thanks,
Pedro Alves

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-18 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18 12:00 [PATCH] Remove setup_kfail server/13796 in disp-step-syscall.exp Yao Qi
2016-02-18 12:06 ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).