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

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