[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 18/22] tests/tcg/aarch64: add a gdbstub testcase for SVE r
From: |
Alex Bennée |
Subject: |
Re: [PATCH v5 18/22] tests/tcg/aarch64: add a gdbstub testcase for SVE registers |
Date: |
Thu, 16 Jan 2020 07:36:33 +0000 |
User-agent: |
mu4e 1.3.6; emacs 28.0.50 |
Richard Henderson <address@hidden> writes:
> On 1/14/20 5:09 AM, Alex Bennée wrote:
>> A very simple test case which sets and reads SVE registers while
>> running a test case. We don't really need to compile a SVE binary for
>> this case but we will later so keep it simple for now.
>>
>> Signed-off-by: Alex Bennée <address@hidden>
>>
>> ---
>> v5
>> - properly plumb in
>> - skip if fails to connect
>> ---
>> tests/.gitignore | 1 +
>> tests/tcg/aarch64/Makefile.target | 15 +++++
>> tests/tcg/aarch64/gdbstub/test-sve.py | 81 +++++++++++++++++++++++++++
>> 3 files changed, 97 insertions(+)
>> create mode 100644 tests/tcg/aarch64/gdbstub/test-sve.py
>
> I don't understand how this is working. What's the process that provides the
> container for the register state?
>
> I would have expected *some* binary to be used, even if it is only "int main()
> { return 0; }".
It is, it's using the sysregs test:
--bin $<
>
>
>
> r~
--
Alex Bennée
- Re: [PATCH v5 15/22] tests/tcg/aarch64: userspace system register test, (continued)
- [PATCH v5 17/22] tests/guest-debug: add a simple test runner, Alex Bennée, 2020/01/14
- [PATCH v5 19/22] tests/tcg/aarch64: add SVE iotcl test, Alex Bennée, 2020/01/14
- [PATCH v5 20/22] tests/tcg/aarch64: add test-sve-ioctl guest-debug test, Alex Bennée, 2020/01/14
- [PATCH v5 18/22] tests/tcg/aarch64: add a gdbstub testcase for SVE registers, Alex Bennée, 2020/01/14
- Re: [PATCH v5 00/22] gdbstub refactor and SVE support (+check-tcg tweaks), no-reply, 2020/01/14