From 8864ef428d92e58b48ec11136d3b91622345c838 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 22 Dec 2021 15:33:38 +0000 Subject: gdb: rename lin-lwp to linux-nat in set/show debug Rename 'set debug lin-lwp' to 'set debug linux-nat' and 'show debug lin-lwp' to 'show debug linux-nat'. I've updated the documentation and help text to match, as well as making it clear that the debug that is coming out relates to all aspects of Linux native inferior support, not just the LWP aspect of it. The boundary between general "native" target debug, and the lwp specific part of that debug was always a little blurry, but the actual debug variable inside GDB is debug_linux_nat, and the print routine linux_nat_debug_printf, is used throughout the linux-nat.c file, not just for lwp related debug, so the new name seems to make more sense. --- gdb/doc/gdb.texinfo | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/doc') diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 48873aa..e39815d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27028,12 +27028,12 @@ Turn on or off debugging messages from JIT debug support. @item show debug jit Displays the current state of @value{GDBN} JIT debugging. -@item set debug lin-lwp -@cindex @sc{gnu}/Linux LWP debug messages -@cindex Linux lightweight processes -Turn on or off debugging messages from the Linux LWP debug support. -@item show debug lin-lwp -Show the current state of Linux LWP debugging messages. +@item set debug linux-nat @r{[}on@r{|}off@r{]} +@cindex @sc{gnu}/Linux native target debug messages +@cindex Linux native targets +Turn on or off debugging messages from the Linux native target debug support. +@item show debug linux-nat +Show the current state of Linux native target debugging messages. @item set debug linux-namespaces @cindex @sc{gnu}/Linux namespaces debug messages -- cgit v1.1