>   This is probably a question for Nate, Gabe or Ali:
>   I have built the m5 util application for x86 and I have been testing it
> under X86_FS simulation.  It looks like /sbin/m5 readfile is failing to
> print the script to the console of the simulated system.  I have been able
> to verify that the pseudo instruction executes correctly, and the
> appropriate function (PseudoInst::readfile) in the simulator is called with
> the correct parameters.  There, the file is read into M5s memory, but it
> isn't ever printed to the terminal in the simulated system.
>   Call graph: PseudoInst::readfile -> VirtualPort::CopyIn
> -> VirtualPort::writeBlob -> Port::writeBlob -> Port::blobHelper
>   At that point, blobHelper calls sendFunctional, to transfer the contents
> of the file into the simulated system, but I'm having trouble tracing where
> the packets end up.
>   Any ideas on whats going on or how I can debug?
There is a mechanism for tracing packets through the system.
Basically, if you attach PrintReqState to the object, the system will
print out info about the object moving through the memory system.
(Search old e-mails and perhaps the history to find out how it really
works.  I've never used it, Steve wrote it.)

As for checking things.  Did you try firing this up in the debugger
and then stepping over the CopyIn call to find out if it succeeded?
I'd try that to find out if there is something else wrong before you
dig through the memory system.

  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to