Blame SOURCES/gdb-rhbz1842691-corefile-mem-access-13of15.patch

0efd7d
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
0efd7d
From: Keith Seitz <keiths@redhat.com>
0efd7d
Date: Tue, 28 Jul 2020 09:44:04 -0400
0efd7d
Subject: gdb-rhbz1842691-corefile-mem-access-13of15.patch
0efd7d
0efd7d
;; Add documentation for "maint print core-file-backed-mappings"
0efd7d
;; Kevin Buettner, RH BZ 1842961
0efd7d
0efd7d
   Author: Kevin Buettner <kevinb@redhat.com>
0efd7d
   Date:   Fri Jul 3 22:09:20 2020 -0700
0efd7d
0efd7d
    Add documentation for "maint print core-file-backed-mappings"
0efd7d
0efd7d
    gdb/ChangeLog:
0efd7d
0efd7d
    	* NEWS (New commands): Mention new command
0efd7d
    	"maintenance print core-file-backed-mappings".
0efd7d
0efd7d
    gdb/doc/ChangeLog:
0efd7d
0efd7d
    	* gdb.texinfo (Maintenance Commands): Add documentation for
0efd7d
    	new command "maintenance print core-file-backed-mappings".
0efd7d
0efd7d
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
0efd7d
--- a/gdb/doc/gdb.texinfo
0efd7d
+++ b/gdb/doc/gdb.texinfo
0efd7d
@@ -38268,6 +38268,14 @@ library.  This exercises all @code{libthread_db} functionality used by
0efd7d
 @code{libthread_db} uses.  Note that parts of the test may be skipped
0efd7d
 on some platforms when debugging core files.
0efd7d
 
0efd7d
+@kindex maint print core-file-backed-mappings
0efd7d
+@cindex memory address space mappings
0efd7d
+@item maint print core-file-backed-mappings
0efd7d
+Print the file-backed mappings which were loaded from a core file note.
0efd7d
+This output represents state internal to @value{GDBN} and should be
0efd7d
+similar to the mappings displayed by the @code{info proc mappings}
0efd7d
+command.
0efd7d
+
0efd7d
 @kindex maint print dummy-frames
0efd7d
 @item maint print dummy-frames
0efd7d
 Prints the contents of @value{GDBN}'s internal dummy-frame stack.