arch-arm: Fix pmc == on SelfDebug
The Assignment operator was used instead of the Equal-To Change-Id: Ibf5a0006bce79b67d662fd1f8942699582956d58 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31080 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -429,7 +429,7 @@ BrkPoint::isEnabled(ThreadContext* tc, ExceptionLevel el,
|
||||
break;
|
||||
case EL2:
|
||||
v = (ssc == 0x3) ||
|
||||
((hmc == 0x1) && !((ssc==0x2) && (pmc = 0x0)));
|
||||
((hmc == 0x1) && !((ssc==0x2) && (pmc == 0x0)));
|
||||
if (v && pmc == 0x2)
|
||||
panic("Unexpected EL in SelfDebug::isDebugEnabled.\n");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user