From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61993 invoked by alias); 27 Sep 2019 08:37:31 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 61983 invoked by uid 89); 27 Sep 2019 08:37:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1900, KFAIL, kfail X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Sep 2019 08:37:30 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 47C0DAF97 for ; Fri, 27 Sep 2019 08:37:28 +0000 (UTC) Date: Fri, 27 Sep 2019 08:37:00 -0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [committed][gdb/testsuite] Add KFAIL for missing support of reverse-debugging of vmovd Message-ID: <20190927083724.GA30302@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00549.txt.bz2 Hi, On my openSUSE Leap 15.1 system I run into: ... (gdb) PASS: gdb.reverse/step-precsave.exp: turn on process record break 76^M Breakpoint 2 at 0x400654: file step-reverse.c, line 76.^M (gdb) PASS: gdb.reverse/step-precsave.exp: breakpoint at end of main continue^M Continuing.^M Process record does not support instruction 0xc5 at address 0x7ffff783fc70.^M Process record: failed to record execution log.^M ^M Program stopped.^M 0x00007ffff783fc70 in __memset_avx2_unaligned_erms () from /lib64/libc.so.6^M (gdb) FAIL: gdb.reverse/step-precsave.exp: run to end of main ... The problem is that the vmovd instruction is not supported in reverse-debugging (PR record/23188). Add a KFAIL for this PR. Tested on x86_64-linux. Committed to trunk. Thanks, - Tom [gdb/testsuite] Add KFAIL for missing support of reverse-debugging of vmovd gdb/testsuite/ChangeLog: 2019-09-27 Tom de Vries PR record/23188 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188. --- gdb/testsuite/gdb.reverse/step-precsave.exp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.reverse/step-precsave.exp b/gdb/testsuite/gdb.reverse/step-precsave.exp index 7443995c00..f5e15510e1 100644 --- a/gdb/testsuite/gdb.reverse/step-precsave.exp +++ b/gdb/testsuite/gdb.reverse/step-precsave.exp @@ -46,7 +46,15 @@ gdb_test "break $end_of_main" \ # This can take awhile. with_timeout_factor 20 { - gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" + set test "run to end of main" + gdb_test_multiple "continue" $test { + -re "Breakpoint .* end of main .*" { + pass $test + } + -re "Process record does not support instruction 0xc5 at.*$gdb_prompt $" { + kfail "record/23188" $test + } + } } # So can this, against gdbserver, for example.