public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Add KFAIL for missing support of reverse-debugging of vmovd
@ 2019-09-27  8:36 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-09-27  8:36 UTC (permalink / raw)
  To: gdb-cvs

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

commit 68f7d34dd506d1ccdaab9e772a533f8e76a5fe19
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Sep 27 10:36:18 2019 +0200

    [gdb/testsuite] Add KFAIL for missing support of reverse-debugging of vmovd
    
    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.
    
    gdb/testsuite/ChangeLog:
    
    2019-09-27  Tom de Vries  <tdevries@suse.de>
    
    	PR record/23188
    	* gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.

Diff:
---
 gdb/testsuite/ChangeLog                     |  5 +++++
 gdb/testsuite/gdb.reverse/step-precsave.exp | 10 +++++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 56ee785..625a70c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2019-09-27  Tom de Vries  <tdevries@suse.de>
+
+	PR record/23188
+	* gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
+
 2019-09-26  Tom Tromey  <tromey@adacore.com>
 
 	* gdb.ada/py_taft.exp: New file.
diff --git a/gdb/testsuite/gdb.reverse/step-precsave.exp b/gdb/testsuite/gdb.reverse/step-precsave.exp
index 7443995..f5e1551 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-27  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27  8:36 [binutils-gdb] [gdb/testsuite] Add KFAIL for missing support of reverse-debugging of vmovd Tom de Vries

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).