From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by sourceware.org (Postfix) with ESMTP id 19E04383E81A for ; Wed, 22 Jul 2020 00:59:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 19E04383E81A Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-77-uLjz_eDkMU61NLG7QwnPxQ-1; Tue, 21 Jul 2020 20:59:28 -0400 X-MC-Unique: uLjz_eDkMU61NLG7QwnPxQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A65D1932482 for ; Wed, 22 Jul 2020 00:59:27 +0000 (UTC) Received: from f32-1.lan (ovpn-112-21.phx2.redhat.com [10.3.112.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1A88C5C662; Wed, 22 Jul 2020 00:59:27 +0000 (UTC) From: Kevin Buettner To: gdb-patches@sourceware.org Subject: [PATCH v5 13/14] Add documentation for "maint print core-file-backed-mappings" Date: Tue, 21 Jul 2020 17:58:31 -0700 Message-Id: <20200722005832.863276-14-kevinb@redhat.com> In-Reply-To: <20200722005832.863276-1-kevinb@redhat.com> References: <20200722005832.863276-1-kevinb@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2020 00:59:31 -0000 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/NEWS | 4 ++++ gdb/doc/gdb.texinfo | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/gdb/NEWS b/gdb/NEWS index 001dc5e468..ff0624ce6e 100644 --- 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...] diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index a002084d5b..b1dc6c0998 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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. -- 2.26.2