mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
tests/tcg/xtensa: conditionalize debug option tests
Make debug tests conditional on the presence of the debug option in the config and tests that depend on the presence/number of instruction or data breakpoint registers on the corresponding definitions. Use configured debug interrupt level instead of the hardcoded value to set up IRQ handler and access debug EPC register. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
912f161ff7
commit
66c58ba71b
2 changed files with 21 additions and 9 deletions
|
@ -97,3 +97,6 @@ test_\name:
|
|||
movi a3, \addr
|
||||
s32i a3, a2, 0
|
||||
.endm
|
||||
|
||||
#define glue(a, b) _glue(a, b)
|
||||
#define _glue(a, b) a ## b
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue