GDB: Listing all mapped memory regions for a crashed process

前端 未结 6 1563
时光取名叫无心
时光取名叫无心 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

    (gdb) maintenance info sections 
    Exec file:
        `/path/to/app.out', file type elf32-littlearm.
        0x0000->0x0360 at 0x00008000: .intvecs ALLOC LOAD READONLY DATA HAS_CONTENTS
    

    This is from comment by phihag above, deserves a separate answer. This works but info proc does not on the arm-none-eabi-gdb v7.4.1.20130913-cvs from the gcc-arm-none-eabi Ubuntu package.

提交回复
热议问题