]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add documentation for "maint print core-file-backed-mappings"
authorKevin Buettner <kevinb@redhat.com>
Sat, 4 Jul 2020 05:09:20 +0000 (22:09 -0700)
committerKevin Buettner <kevinb@redhat.com>
Wed, 22 Jul 2020 19:52:31 +0000 (12:52 -0700)
gdb/ChangeLog:

* NEWS (New commands): Mention new command
"maintenance print core-file-backed-mappings".

gdb/doc/ChangeLog:

* gdb.texinfo (Maintenance Commands): Add documentation for
new command "maintenance print core-file-backed-mappings".

gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 2a7ffde1f76c9c77de29b17d48bb98061ec862c4..7ba156188a6926eeb22102e92a394746790a960d 100644 (file)
@@ -1,3 +1,8 @@
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * NEWS (New commands): Mention new command
+       "maintenance print core-file-backed-mappings".
+
 2020-07-22  Kevin Buettner  <kevinb@redhat.com>
 
        * corelow.c (gdbcmd.h): Include.
index 001dc5e46831acd1e8fe94333a4c902b09f7b8e7..ff0624ce6eb2f5a98b36f2c1ef83124583451124 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -85,6 +85,10 @@ maintenance print xml-tdesc [FILE]
   the target description is read from FILE into GDB, and then
   reprinted.
 
+maintenance print core-file-backed-mappings
+  Prints file-backed mappings loaded from a core file's note section.
+  Output is expected to be similar to that of "info proc mappings".
+
 * Changed commands
 
 alias [-a] [--] ALIAS = COMMAND [DEFAULT-ARGS...]
index 208c1c406ba4aa53f008691d969028306a571111..7e530c044754069a5df6996f95577f40c0d55b87 100644 (file)
@@ -1,3 +1,8 @@
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.texinfo (Maintenance Commands): Add documentation for
+       new command "maintenance print core-file-backed-mappings".
+
 2020-07-22  Reuben Thomas  <rrt@sc3d.org>
 
        * gdb.texinfo (Remote Protocol, Overview): Correct the description
index 3bd8ddfd62456510500619123e129d749f11f84f..1b9f76573b9d5653e0c57de2977e4067f19f9add 100644 (file)
@@ -38532,6 +38532,14 @@ library.  This exercises all @code{libthread_db} functionality used by
 @code{libthread_db} uses.  Note that parts of the test may be skipped
 on some platforms when debugging core files.
 
+@kindex maint print core-file-backed-mappings
+@cindex memory address space mappings
+@item maint print core-file-backed-mappings
+Print the file-backed mappings which were loaded from a core file note.
+This output represents state internal to @value{GDBN} and should be
+similar to the mappings displayed by the @code{info proc mappings}
+command.
+
 @kindex maint print dummy-frames
 @item maint print dummy-frames
 Prints the contents of @value{GDBN}'s internal dummy-frame stack.