diff options
author | Sergio Lopez <slp@redhat.com> | 2017-12-04 09:17:12 +0100 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2017-12-04 11:54:32 -0500 |
commit | afa840dcc021eaeb975dcde3bedbf46ea0511717 (patch) | |
tree | ecad46a127904cf53161c6c1f3aef804d84f068c /gdb/python/py-breakpoint.c | |
parent | 7403715e305f7733d8dfa4a8e1739f12f5180cb2 (diff) | |
download | binutils-afa840dcc021eaeb975dcde3bedbf46ea0511717.zip binutils-afa840dcc021eaeb975dcde3bedbf46ea0511717.tar.gz binutils-afa840dcc021eaeb975dcde3bedbf46ea0511717.tar.bz2 |
Implement 'set dump-excluded-mappings' command
Commit df8411da087dc05481926f4c4a82deabc5bc3859 implemented support for
checking /proc/PID/coredump_filter, and also changed gcore behavior to
unconditionally honor the VM_DONTDUMP flag, preventing sections marked
as such for being dumped into the core file.
This patch implements the 'set dump-excluded-mappings' command for
instructing gdb to ignore the VM_DONTDUMP flag. Combined with 'set
use-coredump-filter', this allows the user to restore the old behavior,
dumping all sections (except the ones marked as IO) unconditionally.
gdb/Changelog:
2017-11-29 Sergio Lopez <slp@redhat.com>
* linux-tdep.c (dump_excluded_mappings): New variable.
(dump_mapping_p): Use dump_excluded_mappings variable.
(_initialize_linux_tdep): New command 'set dump_excluded_mappings'.
Diffstat (limited to 'gdb/python/py-breakpoint.c')
0 files changed, 0 insertions, 0 deletions