target/arm: Use field names for accessing DBGWCRn
commit8b7a5bbecff7d2128ddf81fe9886692c820b742e
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 27 Apr 2022 05:19:26 +0000 (26 22:19 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Apr 2022 12:40:16 +0000 (28 13:40 +0100)
treeaa31c5a39d96c88d70e84198c54035e1f5eba5a9
parenteb851c1151252158ab5b5917c5d386e1d69de3a2
target/arm: Use field names for accessing DBGWCRn

While defining these names, use the correct field width of 5 not 4 for
DBGWCR.MASK.  This typo prevented setting a watchpoint larger than 32k.

Reported-by: Chris Howard <cvz185@web.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20220427051926.295223-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/debug_helper.c
target/arm/helper.c
target/arm/internals.h
target/arm/kvm64.c