ILD

info proc
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2025-8-15 站点:Inside Linux Development

可以打印 /proc/<pid>/下面的内容。


(gdb) info proc

all       cmdline   cwd       exe       files     mappings  stat      status



(gdb) info proc mappings

Mapped address spaces:


          Start Addr           End Addr       Size     Offset objfile

        0x5569110000       0x556912b000    0x1b000        0x0 /usr/bin/miscenetag

        0x556913f000       0x5569140000     0x1000    0x1f000 /usr/bin/miscenetag

        0x5569140000       0x5569141000     0x1000    0x20000 /usr/bin/miscenetag

        0x7fb9490000       0x7fb9491000     0x1000        0x0 /usr/lib/librt.so.1

        0x7fb9491000       0x7fb94af000    0x1e000     0x1000 /usr/lib/librt.so.1



Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.