From patchwork Thu Jan 4 21:27:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Baldwin X-Patchwork-Id: 25215 Received: (qmail 15138 invoked by alias); 4 Jan 2018 21:36:58 -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 15126 invoked by uid 89); 4 Jan 2018 21:36:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=grouping, 3, 9 X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Jan 2018 21:36:55 +0000 Received: from ralph.baldwin.cx (astound-66-234-202-155.ca.astound.net [66.234.202.155]) by mail.baldwin.cx (Postfix) with ESMTPSA id CD63910A8BA; Thu, 4 Jan 2018 16:36:53 -0500 (EST) From: John Baldwin To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 5/5] Document support for 'info proc' on FreeBSD. Date: Thu, 04 Jan 2018 13:27:27 -0800 Message-ID: <3780342.xYbeyQhyDV@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <83efn5bmuq.fsf@gnu.org> References: <20180104014923.11899-1-jhb@FreeBSD.org> <20180104014923.11899-6-jhb@FreeBSD.org> <83efn5bmuq.fsf@gnu.org> MIME-Version: 1.0 X-IsSubscribed: yes On Thursday, January 04, 2018 06:38:37 PM Eli Zaretskii wrote: > > From: John Baldwin > > Date: Wed, 3 Jan 2018 17:49:23 -0800 > > > > Since the 'info proc' support on FreeBSD does not use /proc, reword > > the documentation for 'info proc' to not assume /proc. This includes > > renaming the node to 'Process Information' and suggesting that > > additional process information can be queried via different > > OS-specific interfaces. This is also cleans up the description of > > 'info proc' support for core files a bit as /proc is not used for core > > file support on any current platform. > > > > gdb/doc/ChangeLog: > > > > * gdb.texinfo (pwd): Update cross-reference for Process Information > > node and remove explicit /proc reference. > > (Native): Rename subsection from SVR4 Process Information to > > Process Information. > > (Process Information): Reword introduction to be less /proc > > centric. Document support for "info proc" on FreeBSD. > > OK, thanks. > > Do we need a NEWS entry for this? I suppose so. I added this to the documentation patch locally: diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5812e8f357..ac2bf57401 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-01-04 John Baldwin + + * NEWS: Document that 'info proc' now works on FreeBSD. + 2018-01-03 John Baldwin * configure.ac: Check for kinfo_getfile in libutil. diff --git a/gdb/NEWS b/gdb/NEWS index 14fcdf8674..7b415ce6e6 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -3,6 +3,9 @@ *** Changes since GDB 8.0 +* 'info proc' now works on running processes on FreeBSD systems and core + files created on FreeBSD systems. + * GDB now supports dynamically creating arbitrary register groups specified in XML target descriptions. This allows for finer grain grouping of registers on systems with a large amount of registers.