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

Message ID 3780342.xYbeyQhyDV@ralph.baldwin.cx
State New, archived
Headers

Commit Message

John Baldwin Jan. 4, 2018, 9:27 p.m. UTC
  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:
  

Comments

Eli Zaretskii Jan. 5, 2018, 6:53 a.m. UTC | #1
> 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.