Include heap in gcore

Olivia Nelson
Mon May 1 11:28:00 GMT 2017

I'm trying to modify the gcore.c to support heap dump.
At least not supported in this version "Ubuntu 7.11.1-0ubuntu1~16.04"

Any ideas?

I'm trying to avoid "cat /proc/xxx/maps" or the "dump binary memory" gdb command
I need these things done automatically, with a single command `gcore PID`

More information about the Gdb mailing list