Hello,

I need to find out the virtual address of the instruction which is being 
executed (i.e. program counter) when a (data) memory access to a particular 
virtual page (ex. 0x000aa) takes place. The instruction address does not have 
to be very precise. Using the instruction address I am going to find out which 
part of the code is being executed at that moment. I am using ARM with O3 model 
in FS mode.

I am thinking of stopping gem5 using a conditional breakpoint on the virtual 
page number in GDB and then, look up the PC. I know where to put the breakpoint 
(TLB::translateFs?). But I have trouble finding the PC in O3 CPU.

Thank,
Farzad??

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to