aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorSergio Lopez <slp@redhat.com>2017-12-04 09:17:12 +0100
committerSergio Durigan Junior <sergiodj@redhat.com>2017-12-04 11:54:32 -0500
commitafa840dcc021eaeb975dcde3bedbf46ea0511717 (patch)
treeecad46a127904cf53161c6c1f3aef804d84f068c /gdb/python
parent7403715e305f7733d8dfa4a8e1739f12f5180cb2 (diff)
downloadbinutils-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')
0 files changed, 0 insertions, 0 deletions