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