[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 14/14] tests/acceptance: add reverse debugging test
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v7 14/14] tests/acceptance: add reverse debugging test |
Date: |
Tue, 6 Oct 2020 21:55:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 10/3/20 7:14 PM, Pavel Dovgalyuk wrote:
> From: Pavel Dovgalyuk <Pavel.Dovgaluk@gmail.com>
>
> This is a test for GDB reverse debugging commands: reverse step and reverse
> continue.
> Every test in this suite consists of two phases: record and replay.
> Recording saves the execution of some instructions and makes an initial
> VM snapshot to allow reverse execution.
> Replay saves the order of the first instructions and then checks that they
> are executed backwards in the correct order.
> After that the execution is replayed to the end, and reverse continue
> command is checked by setting several breakpoints, and asserting
> that the execution is stopped at the last of them.
>
> Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Reviewed-by: Willian Rampazzo <willianr@redhat.com>
>
> --
>
> v5:
> - disabled (as some other tests) when running on gitlab
> due to the unidentified timeout problem
> ---
> MAINTAINERS | 1
> tests/acceptance/reverse_debugging.py | 208
> +++++++++++++++++++++++++++++++++
> 2 files changed, 209 insertions(+)
> create mode 100644 tests/acceptance/reverse_debugging.py
Thanks, applied to my acceptance-testing tree.
- [PATCH v7 08/14] replay: implement replay-seek command, (continued)
- [PATCH v7 08/14] replay: implement replay-seek command, Pavel Dovgalyuk, 2020/10/03
- [PATCH v7 09/14] replay: flush rr queue before loading the vmstate, Pavel Dovgalyuk, 2020/10/03
- [PATCH v7 10/14] gdbstub: add reverse step support in replay mode, Pavel Dovgalyuk, 2020/10/03
- [PATCH v7 11/14] gdbstub: add reverse continue support in replay mode, Pavel Dovgalyuk, 2020/10/03
- [PATCH v7 12/14] replay: describe reverse debugging in docs/replay.txt, Pavel Dovgalyuk, 2020/10/03
- [PATCH v7 13/14] replay: create temporary snapshot at debugger connection, Pavel Dovgalyuk, 2020/10/03
- [PATCH v7 14/14] tests/acceptance: add reverse debugging test, Pavel Dovgalyuk, 2020/10/03
- Re: [PATCH v7 14/14] tests/acceptance: add reverse debugging test,
Philippe Mathieu-Daudé <=
- Re: [PATCH v7 00/14] Reverse debugging, no-reply, 2020/10/03
- Re: [PATCH v7 00/14] Reverse debugging, Paolo Bonzini, 2020/10/05