From: Bruno Larsen Date: Thu, 4 May 2023 10:31:01 +0000 (+0200) Subject: Revert "gdb/testsuite: add KFAILs to gdb.reverse/step-reverse.exp" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34e2d487d89ad4a6f5c8a01370a884435388d17e;p=binutils-gdb.git Revert "gdb/testsuite: add KFAILs to gdb.reverse/step-reverse.exp" 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. Approved-By: Tom Tromey --- 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