[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v9 6/6] tests/guest-debug: introduce basic gdbstub
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v9 6/6] tests/guest-debug: introduce basic gdbstub tests |
Date: |
Fri, 20 Nov 2015 16:17:19 +0000 |
On 12 November 2015 at 16:20, Alex Bennée <address@hidden> wrote:
> From: Alex Bennée <address@hidden>
>
> The aim of these tests is to combine with an appropriate kernel
> image (with symbol-file vmlinux) and check it behaves as it should.
> Given a kernel it checks:
>
> - single step
> - software breakpoint
> - hardware breakpoint
> - access, read and write watchpoints
>
> On success it returns 0 to the calling process.
>
> I've not plumbed this into the "make check" logic though as we need a
> solution for providing non-host binaries to the tests. However the test
> is structured to work with pretty much any Linux kernel image as it
> uses the basic kernel_init code which is common across architectures.
Do these tests pass if you run them on the TCG QEMU, just out
of interest?
I'm not a great fan of tests that aren't in 'make check'
because IME they just bitrot, but as you say we have no
sensible approach for handling tests that need to run real
guest code :-(
thanks
-- PMM
- [Qemu-arm] [PATCH v9 0/6] QEMU support for KVM Guest Debug on arm64, Alex Bennée, 2015/11/12
- [Qemu-arm] [PATCH v9 6/6] tests/guest-debug: introduce basic gdbstub tests, Alex Bennée, 2015/11/12
- Re: [Qemu-arm] [PATCH v9 6/6] tests/guest-debug: introduce basic gdbstub tests,
Peter Maydell <=
- [Qemu-arm] [PATCH v9 5/6] target-arm: kvm - re-inject guest debug exceptions, Alex Bennée, 2015/11/12
- [Qemu-arm] [PATCH v9 2/6] target-arm: kvm - implement software breakpoints, Alex Bennée, 2015/11/12
- [Qemu-arm] [PATCH v9 4/6] target-arm: kvm - add support for HW assisted debug, Alex Bennée, 2015/11/12
- [Qemu-arm] [PATCH v9 1/6] target-arm: kvm64 - introduce kvm_arm_init_debug(), Alex Bennée, 2015/11/12