Blame SOURCES/gdb-rhbz1518243-gcore-VM_DONTDUMP-4of5.patch

01917d
commit c179febe79bf2fe2f64852c827813fc46da819f5
01917d
Author: Sergio Lopez <slp@redhat.com>
01917d
Date:   Mon Dec 4 09:17:15 2017 +0100
01917d
01917d
    Document the new "-a" command line option for gcore
01917d
    
01917d
    gdb/ChangeLog:
01917d
    2017-11-29  Sergio Lopez  <slp@redhat.com>
01917d
    
01917d
            * NEWS (Changes since GDB 8.0): Announce new "-a"
01917d
            command line option for gcore.
01917d
    
01917d
    gdb/doc/ChangeLog:
01917d
    2017-11-29  Sergio Lopez  <slp@redhat.com>
01917d
    
01917d
            * gdb.texinfo (gcore man): Document new "-a" command line option.
01917d
01917d
Index: gdb-7.6.1/gdb/NEWS
01917d
===================================================================
01917d
--- gdb-7.6.1.orig/gdb/NEWS	2017-12-06 20:58:33.885856147 +0100
01917d
+++ gdb-7.6.1/gdb/NEWS	2017-12-06 20:59:03.174045646 +0100
01917d
@@ -12,6 +12,11 @@
01917d
   Control whether mappings marked with the VM_DONTDUMP flag should be
01917d
   dumped when generating a core file.
01917d
 
01917d
+* New command line options (gcore)
01917d
+
01917d
+-a
01917d
+  Dump all memory mappings.
01917d
+
01917d
 * Newly installed $prefix/bin/gcore acts as a shell interface for the
01917d
   GDB command gcore.
01917d
 
01917d
Index: gdb-7.6.1/gdb/doc/gdb.texinfo
01917d
===================================================================
01917d
--- gdb-7.6.1.orig/gdb/doc/gdb.texinfo	2017-12-06 20:58:22.471782297 +0100
01917d
+++ gdb-7.6.1/gdb/doc/gdb.texinfo	2017-12-06 20:58:33.891856186 +0100
01917d
@@ -43242,7 +43242,7 @@
01917d
 
01917d
 @format
01917d
 @c man begin SYNOPSIS gcore
01917d
-gcore [-o @var{filename}] @var{pid}
01917d
+gcore [-a] [-o @var{filename}] @var{pid}
01917d
 @c man end
01917d
 @end format
01917d
 
01917d
@@ -43256,6 +43256,13 @@
01917d
 
01917d
 @c man begin OPTIONS gcore
01917d
 @table @env
01917d
+@item -a
01917d
+Dump all memory mappings.  The actual effect of this option depends on
01917d
+the Operating System.  On @sc{gnu}/Linux, it will disable
01917d
+@code{use-coredump-filter} (@pxref{set use-coredump-filter}) and
01917d
+enable @code{dump-excluded-mappings} (@pxref{set
01917d
+dump-excluded-mappings}).
01917d
+
01917d
 @item -o @var{filename}
01917d
 The optional argument
01917d
 @var{filename} specifies the file name where to put the core dump.