GDB: Listing all mapped memory regions for a crashed process

前端 未结 6 1567
时光取名叫无心
时光取名叫无心 2020-12-12 11:13

I\'ve got a full-heap core dump from a dead process on an x86 Linux machine (kernel 2.6.35-22 if it matters), which I\'m attempting to debug in GDB.

Is there a GDB

6条回答
  •  情歌与酒
    2020-12-12 11:43

    I have just seen the following:

    set mem inaccessible-by-default [on|off]
    

    here

    It might allow you to search without regard if the memory is accessible.

提交回复
热议问题