From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 3A8AA3858D28 for ; Thu, 4 May 2023 10:50:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3A8AA3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683197438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fsO+6GlJsN43ydXNqMsmGPSd69rNHq13F0hEnPsGoJ4=; b=cwg4v+I/1wi5jdkVlVMS+fEGxtYLSd1xwPi0aamG9VbSgbEVC5sELkjTO3/uQandxoLT9A DXrBJEaUHfC80B4PldKcQcIGwYIzbc87iI3s4DPeEnVPxqiuCN7NrgiEk3oMxTGJWJ6nyM mTv+zeuNyirrukoA3OVhvOpthvU5GVM= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-342-KJuW5J6uPEmiZcM6VGhYSg-1; Thu, 04 May 2023 06:50:30 -0400 X-MC-Unique: KJuW5J6uPEmiZcM6VGhYSg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E6C1F2A5954C for ; Thu, 4 May 2023 10:50:29 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.45.225.167]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BBAB7492C13; Thu, 4 May 2023 10:50:28 +0000 (UTC) From: Bruno Larsen To: gdb-patches@sourceware.org Cc: Bruno Larsen Subject: [PATCH] Revert "gdb/testsuite: add KFAILs to gdb.reverse/step-reverse.exp" Date: Thu, 4 May 2023 12:50:22 +0200 Message-Id: <20230504105022.585919-1-blarsen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This reverts commit 476410b3bca1389ee69e9c8fa18aaee16793a56d. One of Simon's recent commits (2a740b3ba4c9f39c86dd75e0914ee00942cab471) changed the way recording a remote target works and fixed the underlying issue of the bug, so the KFails can be removed from the test. --- gdb/testsuite/gdb.reverse/step-reverse.exp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gdb/testsuite/gdb.reverse/step-reverse.exp b/gdb/testsuite/gdb.reverse/step-reverse.exp index 2c3b95a2eae..729218d4cb8 100644 --- a/gdb/testsuite/gdb.reverse/step-reverse.exp +++ b/gdb/testsuite/gdb.reverse/step-reverse.exp @@ -29,7 +29,6 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } { } runto_main -set target_remote [gdb_is_target_remote] if [supports_process_record] { # Activate process record/replay @@ -272,25 +271,11 @@ if { "$step_out" == 1 } { # Step forward over recursion again so we can test stepping over calls # inside the recursion itself. gdb_test_no_output "set exec-dir forward" "forward again to test recursion" -if {$target_remote} { - # gdb doesn't record the change of return pointer for remote targets, - # so we can't next forward over functions. - setup_kfail gdb/29745 *-*-* -} gdb_test "next" "NEXT OVER THIS CALL.*" "reverse next over recursion again" gdb_test_no_output "set exec-dir reverse" "reverse again to test recursion" -if {$target_remote} { - # Because of the above mentioned KFAIL, the inferior is now out of sync - setup_kfail gdb/29745 *-*-* -} gdb_test "step" ".*EXIT RECURSIVE FUNCTION.*" "enter recursive function" set seen_recursive_call 0 -if {$target_remote} { - # Because of the above mentioned KFAIL, the inferior is now out of sync - # The fail state below will resync the inferior. - setup_kfail gdb/29745 *-*-* -} gdb_test_multiple "next" "step over recursion inside the recursion" { -re -wrap ".*RECURSIVE CALL.*" { incr seen_recursive_call -- 2.40.0