aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2021-12-22 15:33:38 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-01-12 10:51:03 +0000
commit8864ef428d92e58b48ec11136d3b91622345c838 (patch)
tree6effc2753ec2c55df363371fd2732709765d9c5f /gdb/NEWS
parenta8bc481f352d61bb2962e983a1c1c1fdad0230b7 (diff)
downloadgdb-8864ef428d92e58b48ec11136d3b91622345c838.zip
gdb-8864ef428d92e58b48ec11136d3b91622345c838.tar.gz
gdb-8864ef428d92e58b48ec11136d3b91622345c838.tar.bz2
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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index c26e15b..ad80e92 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -64,6 +64,12 @@ set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
+set debug linux-nat on|off
+show debug linux-nat
+ These new commands replaced the old 'set debug lin-lwp' and 'show
+ debug lin-lwp' respectively. Turning this setting on prints debug
+ messages relating to GDB's handling of native Linux inferiors.
+
* Changed commands
maint packet
@@ -79,6 +85,12 @@ clone-inferior
environment' or 'unset environment' commands are also copied to the new
inferior.
+set debug lin-lwp on|off
+show debug lin-lwp
+ These commands have been removed from GDB. The new command 'set
+ debug linux-nat' and 'show debug linux-nat' should be used
+ instead.
+
* Python API
** New function gdb.add_history(), which takes a gdb.Value object