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

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