您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

GDB:列出崩溃进程的所有映射内存区域

GDB:列出崩溃进程的所有映射内存区域

在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

其他 2022/1/1 18:17:06 有329人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶