From patchwork Wed Nov 29 10:55:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Lopez X-Patchwork-Id: 24594 Received: (qmail 123402 invoked by alias); 29 Nov 2017 10:56:00 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 123351 invoked by uid 89); 29 Nov 2017 10:55:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Operating, roland, Roland, 1991 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Nov 2017 10:55:58 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 824FEC049D7F for ; Wed, 29 Nov 2017 10:55:57 +0000 (UTC) Received: from dritchie.redhat.com (ovpn-117-26.ams2.redhat.com [10.36.117.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id A5AB75D6A3; Wed, 29 Nov 2017 10:55:56 +0000 (UTC) From: Sergio Lopez To: gdb-patches@sourceware.org Cc: Sergio Lopez Subject: [PATCH v2 4/4] Document the new "-a" command line option for gcore Date: Wed, 29 Nov 2017 11:55:43 +0100 Message-Id: <20171129105543.19236-5-slp@redhat.com> In-Reply-To: <20171129105543.19236-1-slp@redhat.com> References: <20171129105543.19236-1-slp@redhat.com> gdb/ChangeLog: 2017-11-29 Sergio Lopez * NEWS (Changes since GDB 8.0): Announce new "-a" command line option for gcore. gdb/doc/ChangeLog: 2017-11-29 Sergio Lopez * gdb.texinfo (gcore man): Document new "-a" command line option. --- gdb/NEWS | 5 +++++ gdb/doc/gdb.texinfo | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gdb/NEWS b/gdb/NEWS index 1372552a37..ce84fe7924 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -52,6 +52,11 @@ ** The "complete" command now mimics TAB completion accurately. +* New command line options (gcore) + +-a + Dump all memory mappings. + * Python Scripting ** New events gdb.new_inferior, gdb.inferior_deleted, and diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 7b25912e49..88d6820998 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -42948,7 +42948,7 @@ Richard M. Stallman and Roland H. Pesch, July 1991. @format @c man begin SYNOPSIS gcore -gcore [-o @var{filename}] @var{pid} +gcore [-a] [-o @var{filename}] @var{pid} @c man end @end format @@ -42962,6 +42962,11 @@ running without any change. @c man begin OPTIONS gcore @table @env +@item -a +Dump all memory mappings. The actual effect of this option depends on the +Operating System. On @sc{gnu}/Linux, it will disable +@code{use-coredump-filter} and enable @code{dump-excluded-mappings}. + @item -o @var{filename} The optional argument @var{filename} specifies the file name where to put the core dump.