> I'm trying to debug part of the memory system using the debug callout > technique described in the docs. I'm using ddd 3.3.11 on top of gdb 6.4 > running on linux/x86_64. m5 runs fine on all my benchmarks outside of > the debugger. When running inside gdb, I've placed a breakpoint on > MemDebug::cacheAccess as described in the docs and execution halts there > but the debugger is unable to tell me very much useful about the > contents of the "req" object passed to the callout - the error is > "Cannot access memory at address <addr>". Is this an example of the poor > support for debugging templated code in gdb? Is there anything I can do > to let me probe the req object?
This is a problem with gdb as far as we can tell. You can do things such as try to find the address and then casting that address and dereference it. Unfortunately, it doesn't always work. Nathan ------------------------------------------------------- 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
