Patchwork [v2,5/5] Document support for 'info proc' on FreeBSD.

login
register
mail settings
Submitter John Baldwin
Date Jan. 4, 2018, 9:27 p.m.
Message ID <3780342.xYbeyQhyDV@ralph.baldwin.cx>
Download mbox | patch
Permalink /patch/25215/
State New
Headers show

Comments

John Baldwin - Jan. 4, 2018, 9:27 p.m.
On Thursday, January 04, 2018 06:38:37 PM Eli Zaretskii wrote:
> > From: John Baldwin <jhb@FreeBSD.org>
> > 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:
Eli Zaretskii - Jan. 5, 2018, 6:53 a.m.
> From: John Baldwin <jhb@freebsd.org>
> Cc: gdb-patches@sourceware.org
> Date: Thu, 04 Jan 2018 13:27:27 -0800
> 
> > Do we need a NEWS entry for this?
> 
> I suppose so.  I added this to the documentation patch locally:

Thanks.

Patch

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  <jhb@FreeBSD.org>
+
+       * NEWS: Document that 'info proc' now works on FreeBSD.
+
 2018-01-03  John Baldwin  <jhb@FreeBSD.org>
 
        * 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.