arch-arm: Remove setters from SoftwareStep
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 12 Aug 2020 13:36:07 +0000 (14:36 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 18 Aug 2020 13:04:58 +0000 (13:04 +0000)
commitb438ec2b1cd563eeb935d22b41a698f1f12cd1b3
tree0990672c0705933cd2bfb64b61f2a4b0abbcd1d2
parent40e8cac3067a6807b396b9291cb9d0739c1a0655
arch-arm: Remove setters from SoftwareStep

Motivation:
Those helpers are used and meant to be used by the parent
(SelfDebug) class only. There is no point on exposing them to
the outer world. Better to make SelfDebug a friend class and to
allow it to access children's private data.

Change-Id: Ib945b1aa46742b90062ce7a5de563f164127075f
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/+/32774
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/self_debug.hh