Hi Anders, 

That code has only been used with Alpha, but in theory
it could be used for other ISAs. The values come from a kernel with an
extra file that gives us some hints. Take a look at
http://repo.gem5.org/linux-patches/file/0ab58d9bd9a5/m5/m5struct.diff


Ali 

On Wed, 9 Nov 2011 13:24:52 +0100, Anders Handler  wrote: Hi,


I am currently trying to access kernel data structures while the
simulation is stopped (while executing a user mode process). I found
some interesting things in stacktrace.cc, but seems like it tries to
find symbols in the kernel which is not there. Should the stacktrace.cc
code work or do you have a clue how to get pointers to the kernel data
structures? 

Thanks! 

Anders  

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

Reply via email to