在GDB 7.2中:
(gdb) help info proc
Show /proc process information about any running process.
Specify any process id, or use the program being debugged by default.
Specify any of the following keywords for detailed info:
mappings -- list of mapped memory regions.
stat -- list a bunch of random process info.
status -- list a different bunch of random process info.
all -- list all available /proc info.
您需要info proc mappings
,除非它在没有时/proc
(例如在pos-mortem调试期间)不起作用。
试试吧maintenance info sections
。