Include heap in gcore

Olivia Nelson <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAJZVxR=ZV0iFhX2=itnL0c6aQpv4-Rb_wjQwLV5BUxzJ0hH+7Q@mail.gmail.com>
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?

P.S
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`
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.