fastmodel: Implement PC based events.
authorGabe Black <gabeblack@google.com>
Wed, 23 Oct 2019 04:42:51 +0000 (21:42 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 23 Dec 2019 20:57:59 +0000 (20:57 +0000)
commit6e91bb9dcb276780b2474d73ca4f0a0ece17aca7
tree173b34784f5f1a0e124cd523025807bba1d7b4a7
parent62d75e7105fe172eb906d4f80f360ff8591d4178
fastmodel: Implement PC based events.

These use the IRIS breakpoint API to stop the models at the appropriate
points. There seems to be a slightly wonky interaction between
breakpoints and stepping, where if you stop at a breakpoint and then
step, you might end up moving forward more than the number of requested
instructions.

Change-Id: I31f13a120cfc1ad2ec3669ee8befd6d21b328bb2
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22122
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fastmodel/iris/thread_context.cc
src/arch/arm/fastmodel/iris/thread_context.hh