[PATCH v3 5/6] Add support for LWP-based threads on FreeBSD.

Eli Zaretskii eliz@gnu.org
Mon Jan 18 16:00:00 GMT 2016


> From: John Baldwin <jhb@FreeBSD.org>
> Date: Sun, 17 Jan 2016 18:27:26 -0800
> 
> diff --git a/gdb/NEWS b/gdb/NEWS
> index 9d3a47c..4f276a1 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -3,6 +3,8 @@
>  
>  *** Changes since GDB 7.10
>  
> +* GDB now supports debugging kernel-based threads on FreeBSD.
> +
>  * Per-inferior thread numbers
>  
>    Thread numbers are now per inferior instead of global.  If you're
> @@ -93,6 +95,10 @@ set debug bfd-cache
>  show debug bfd-cache
>    Control display of debugging info regarding bfd caching.
>  
> +set debug fbsd-lwp
> +show debug fbsd-lwp
> +  Control display of debugging info regarding FreeBSD threads.
> +

OK for this part.

> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index a08a196..26ba1e2 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -23594,6 +23594,11 @@ expression parsing.  The default is off.
>  @item show debug expression
>  Displays the current state of displaying debugging info about
>  @value{GDBN} expression parsing.
> +@item set debug fbsd-lwp
> +@cindex FreeBSD LWP debug messages
> +Turns on or off debugging messages from the FreeBSD LWP debug support.

"Turn", not "Turns", for consistency with the rest of text.

OK with this fixed.

Thanks.



More information about the Gdb-patches mailing list