This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Include heap in gcore
- From: Olivia Nelson <the dot warl0ck dot 1989 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 1 May 2017 19:28:11 +0800
- Subject: Include heap in gcore
- Authentication-results: sourceware.org; auth=none
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`