How to limit the size of core dump file when generating it using GDB

后端 未结 3 1834
醉话见心
醉话见心 2021-01-18 00:29

I am running an embedded application on ARM9 board, where total flash size is 180MB only. I am able to run gdb, but when I do

(gdb) generate-core-

3条回答
  •  清酒与你
    2021-01-18 01:16

    When did you use ulimit -c ? It must be used before starting the program for which you're generating a core dump, and inside the same session.

提交回复
热议问题