www.gem5.org/documentation/general_docs/debugging_and_testing/debugging/debugger_based_debugging
1 Users
0 Comments
2 Highlights
0 Notes
Tags
Top Highlights
。达到该点的最快方法是使用 DebugEvent ,它进入 gem5 的事件队列,并在达到指定周期时通过向进程发送 SIGTRAP 信号强制进入调试器。您需要在调试器下启动 gem5 或将调试器附加到 gem5 进程才能正常工作。
数调用 gem5 时,您可以创建一个或多个 DebugEvent。您还可以使用 schedBreak() 函数从调试器提示符创建新的 DebugEvents。以下示例会话说明了这两种方法:
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.