Take a look at the PCEvent class and the objects that currently derive from it. 
That seems like it will do what you're after.

Ali

On Nov 1, 2011, at 11:44 PM, Hongil Yoon wrote:

> Hi guys,
> 
> Does Gem5 support magic break point like Gems?
> 
> What I wanna do is to turn on a flag(bool type) of CacheMemory obj when a 
> specific method is executed. Extending ISA could be an solution for the 
> issue. But, That may entail modification of decoding part as well, right?. 
> So, if Gem5 supports magic break points like Gems, these interfaces can be a 
> simple alternative by adding a callback method; I have read some questions 
> about adding new pseudo instructions, but still not sure whether that is 
> proper for me.
> 
> Please, tell me comments or a good staring point about the issue?
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> 

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to