]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Add xfail case in gdb.python/py-record-btrace.exp
authorTom de Vries <tdevries@suse.de>
Mon, 20 Feb 2023 10:16:02 +0000 (11:16 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 20 Feb 2023 10:16:02 +0000 (11:16 +0100)
commit1bcaeecb7fd8a23f05033bc9a340696b685db17f
tree28b5ae5a4ce20d8b1eaa34f1cd1b32c99ce9c703
parent13d4a4bd5a7a686d8d5473a4c93b7798de97f745
[gdb/testsuite] Add xfail case in gdb.python/py-record-btrace.exp

I came across:
...
gdb) PASS: gdb.python/py-record-btrace.exp: prepare record: stepi 100
python insn = r.instruction_history^M
warning: Non-contiguous trace at instruction 1 (offset = 0x3e10).^M
(gdb) FAIL: gdb.python/py-record-btrace.exp: prepare record: python insn = r.i\
nstruction_history
...

I'm assuming it's the same root cause as for the already present XFAIL.

Fix this by recognizing above warning in the xfail regexp.

Tested on x86_64-linux, although sofar I was not able to trigger the warning
again.

Approved-By: Markus T. Metzger <markus.t.metzger@intel.com>
gdb/testsuite/gdb.python/py-record-btrace.exp