Add documentation for "maint print core-file-backed-mappings"

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".
This commit is contained in:
Kevin Buettner 2020-07-03 22:09:20 -07:00
parent 09c2f5d45c
commit b089853a22
4 changed files with 22 additions and 0 deletions

View 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.

View File

@ -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...]

View 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

View 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.