From 386a86761838df16c1459275d465ed21a1c35d9f Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Sat, 3 Mar 2018 21:25:33 -0800 Subject: 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". --- gdb/NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index 1767cef..867e268 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -6,6 +6,12 @@ * 'info proc' now works on running processes on FreeBSD systems and core files created on FreeBSD systems. +* New commands + +set debug fbsd-nat +show debug fbsd-nat + Control display of debugging info regarding the FreeBSD native target. + *** Changes in GDB 8.1 * GDB now supports dynamically creating arbitrary register groups specified -- cgit v1.1