aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/dev-tools/kgdb.rst
diff options
context:
space:
mode:
authorChristian Löhle <CLoehle@hyperstone.com>2022-01-05 09:58:38 +0000
committerJonathan Corbet <corbet@lwn.net>2022-01-07 09:33:13 -0700
commit689d8014d92ae9e0a861e82a81d8b4410c0f790e (patch)
treeddcbe09ad37d02069c82aba24a3ef440188c5d15 /Documentation/dev-tools/kgdb.rst
parentdocs: automarkup.py: Fix invalid HTML link output and broken URI fragments (diff)
downloadlinux-dev-689d8014d92ae9e0a861e82a81d8b4410c0f790e.tar.xz
linux-dev-689d8014d92ae9e0a861e82a81d8b4410c0f790e.zip
Documentation: kgdb: Replace deprecated remotebaud
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>
Diffstat (limited to '')
-rw-r--r--Documentation/dev-tools/kgdb.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/dev-tools/kgdb.rst b/Documentation/dev-tools/kgdb.rst
index 3e3f7bca937d..f83ba2601e55 100644
--- a/Documentation/dev-tools/kgdb.rst
+++ b/Documentation/dev-tools/kgdb.rst
@@ -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