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

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