Skip to content

Commit

Permalink
Documentation: kgdb: Replace deprecated remotebaud
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Löhle authored and Jonathan Corbet committed Jan 7, 2022
1 parent 7cc4c09 commit 689d801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/dev-tools/kgdb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 689d801

Please sign in to comment.