Documentation: kgdb: Replace deprecated remotebaud
authorChristian Löhle <CLoehle@hyperstone.com>
Wed, 5 Jan 2022 09:58:38 +0000 (09:58 +0000)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 Jan 2022 16:33:13 +0000 (09:33 -0700)
Using set remotebaud to set the baud rate was deprecated in
gdb-7.7 and completely removed from the command parser in gdb-7.8
(released in 2014). Adopt set serial baud instead.

Signed-off-by: Christian Loehle <cloehle@hyperstone.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/4050689967ed46baaa3bfadda53a0e73@hyperstone.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/dev-tools/kgdb.rst

index 3e3f7bca937dac6b84b1d4c4d681a76bbc9f4007..f83ba2601e55d51073ce383b3c2e2c0b7ee3cb2d 100644 (file)
@@ -557,7 +557,7 @@ Connecting with gdb to a serial port
    Example (using a directly connected port)::
 
            % gdb ./vmlinux
-           (gdb) set remotebaud 115200
+           (gdb) set serial baud 115200
            (gdb) target remote /dev/ttyS0