Hello all,

I am new to gem5. I want to use gdb to inspect what is going on inside the
simulator in SE mode.
Specifically, I want to stop at certain PC and make a checkpoint at that
point, but I don't find an easy way to do that. The existing way to take
checkpoints can only be taken at certain tick.
I reviewed the source code and generally located where the PC is stored (in
the ThreadState structure of the thread of the corresponding CPU).
But since gem5 use swig to bridge python and C++, I am really confused if
it is possible to access the PC globally in gdb?

Thanks.

-- 

Best regards,

Lingxiao Jia


Electrical & Computer Engineering (ECE)

The University of Texas at Austin (UT-Austin)
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to