This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Document the new "-a" command line option for gcore


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c179febe79bf2fe2f64852c827813fc46da819f5

commit c179febe79bf2fe2f64852c827813fc46da819f5
Author: Sergio Lopez <slp@redhat.com>
Date:   Mon Dec 4 09:17:15 2017 +0100

    Document the new "-a" command line option for gcore
    
    gdb/ChangeLog:
    2017-11-29  Sergio Lopez  <slp@redhat.com>
    
    	* NEWS (Changes since GDB 8.0): Announce new "-a"
    	command line option for gcore.
    
    gdb/doc/ChangeLog:
    2017-11-29  Sergio Lopez  <slp@redhat.com>
    
    	* gdb.texinfo (gcore man): Document new "-a" command line option.

Diff:
---
 gdb/NEWS            | 5 +++++
 gdb/doc/gdb.texinfo | 9 ++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/gdb/NEWS b/gdb/NEWS
index 86fcbd9..2262b25 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -58,6 +58,11 @@
 
   ** The "complete" command now mimics TAB completion accurately.
 
+* New command line options (gcore)
+
+-a
+  Dump all memory mappings.
+
 * Breakpoints on C++ functions are now set on all scopes by default
 
   By default, breakpoints on functions/methods are now interpreted as
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 1039f4c..3b251c6 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -43048,7 +43048,7 @@ Richard M. Stallman and Roland H. Pesch, July 1991.
 
 @format
 @c man begin SYNOPSIS gcore
-gcore [-o @var{filename}] @var{pid}
+gcore [-a] [-o @var{filename}] @var{pid}
 @c man end
 @end format
 
@@ -43062,6 +43062,13 @@ running without any change.
 
 @c man begin OPTIONS gcore
 @table @env
+@item -a
+Dump all memory mappings.  The actual effect of this option depends on
+the Operating System.  On @sc{gnu}/Linux, it will disable
+@code{use-coredump-filter} (@pxref{set use-coredump-filter}) and
+enable @code{dump-excluded-mappings} (@pxref{set
+dump-excluded-mappings}).
+
 @item -o @var{filename}
 The optional argument
 @var{filename} specifies the file name where to put the core dump.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]