Are you trying to open a file from within the simulator code, or in a
program that you are trying to simulate? James's advice applies to the
latter. If you're having trouble with the former, then it's just a
plain old C++ programming issue that you can debug the same way you'd
debug any other C++ program. In fact, if you debug by adding printfs
and not by using a debugger, you can apply that technique to either
situation.
Steve
James Srinivasan wrote:
We are not able to open a file in the m5 simulator..
Try tracing the open syscall with --root.trace.flags="SyscallVerbose"
and seeing what it returns. I'm guessing you might have the wrong path
or something if trying to open an existing file.
James
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users