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

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