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
(gdb) generate-core-
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.