This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v3 0/5] Enable the user to dump all memory regions
- From: Pedro Alves <palves at redhat dot com>
- To: Sergio Lopez <slp at redhat dot com>, gdb-patches at sourceware dot org
- Date: Mon, 4 Dec 2017 14:37:51 +0000
- Subject: Re: [PATCH v3 0/5] Enable the user to dump all memory regions
- Authentication-results: sourceware.org; auth=none
- References: <20171204081716.5414-1-slp@redhat.com>
On 12/04/2017 08:17 AM, Sergio Lopez wrote:
> GDB versions prior to df8411da087dc05481926f4c4a82deabc5bc3859
> unconditionally included all memory regions in the core dump.
>
> After that change, while is still possible to ask GDB to ignore
> /proc/PID/coredump_filter using the 'set use-coredump-filter' command,
> there's no way to request it to dump regions marked with the VM_DONTDUMP
> flag ("dd" in /proc/PID/smaps").
>
> This patch series implement the new 'set dump-excluded-mappings' command
> for GDB, and the "-a" argument for gcore, allowing the user to mimic the
> behavior of previous GDB versions.
>
> ---
>
> Changes since v2:
> - 1/5: Removed an empty line between command and definition of variable.
> - 5/5: Added a test case for 'set dump-excluded-mappings'.
Thanks!
This is OK.
Pedro Alves