开发者

List loaded modules using gdb

Is there a way to list all the loaded modules using gdb, just like Windbg, that automatically shows all the loaded modules. Its okay if there is no one word answer, I'll be happy开发者_如何学Go to work things out myself if someone could please provide me a pointer.


i sh roughly <=> lm or x *! in WinDbg


Does ldd from the command line tell you what you need?

Actually, scratch that idea. Try i shared. See http://book.opensourceproject.org.cn/embedded/embeddedprime/opensource/0136130550/ch15lev1sec3.html.


If you are working on Windows, and you just want to see what was loaded, you can use Process Explorer. Select the process from the list, and from the menu, select View -> Lower Pane View -> DLLs. The lower pane will then show all the DLLs used by that process.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜