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

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