diff options
author | John Baldwin <jhb@FreeBSD.org> | 2018-03-03 21:25:33 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2018-03-03 21:25:33 -0800 |
commit | 386a86761838df16c1459275d465ed21a1c35d9f (patch) | |
tree | 5b24b643b0ad42b806439d31fe7977eba55cb6f7 /gdb/doc | |
parent | 12279366d71627bfbdd74d1a6675dca825d8feca (diff) | |
download | gdb-386a86761838df16c1459275d465ed21a1c35d9f.zip gdb-386a86761838df16c1459275d465ed21a1c35d9f.tar.gz gdb-386a86761838df16c1459275d465ed21a1c35d9f.tar.bz2 |
Add a new debug knob for the FreeBSD native target.
For now this just logs information about the state of the current LWP
for each STOPPED event in fbsd_wait().
gdb/ChangeLog:
* NEWS (Changes since GDB 8.1): Add "set/show debug fbsd-nat".
* fbsd-nat.c (debug_fbsd_nat): New variable.
(show_fbsd_nat_debug): New function.
(fbsd_wait): Log LWP info if "debug_fbsd_nat" is enabled.
(_initialize_fbsd_nat): Add "fbsd-nat" debug boolean command.
gdb/doc/ChangeLog:
* gdb.texinfo (Debugging Output): Document "set/show debug
fbsd-nat".
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 037173c..dca13c6 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2018-03-04 John Baldwin <jhb@FreeBSD.org> + + * gdb.texinfo (Debugging Output): Document "set/show debug + fbsd-nat". + 2018-02-19 Andrew Burgess <andrew.burgess@embecosm.com> * gdb.texinfo (Machine Code): Additional information about "info diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ee7adc8..74e0fdb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -24554,6 +24554,11 @@ Displays the current state of displaying debugging info about Turns on or off debugging messages from the FreeBSD LWP debug support. @item show debug fbsd-lwp Show the current state of FreeBSD LWP debugging messages. +@item set debug fbsd-nat +@cindex FreeBSD native target debug messages +Turns on or off debugging messages from the FreeBSD native target. +@item show debug fbsd-nat +Show the current state of FreeBSD native target debugging messages. @item set debug frame @cindex frame debugging info Turns on or off display of @value{GDBN} frame debugging info. The |