From: "Christian Löhle" <CLoehle@hyperstone.com>
To: "Jonathan Corbet" <corbet@lwn.net>,
"jason.wessel@windriver.com" <jason.wessel@windriver.com>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"daniel.thompson@linaro.org" <daniel.thompson@linaro.org>,
"Christian Löhle" <CLoehle@hyperstone.com>
Subject: [PATCHv3] Documentation: kgdb: Replace deprecated remotebaud
Date: Mon, 10 Jan 2022 08:26:02 +0000 [thread overview]
Message-ID: <efa448f3c8074fac9e07e258d327cbae@hyperstone.com> (raw)
In-Reply-To: <87ee5kpki1.fsf@meer.lwn.net>
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.
Change since v2:
- Add historical example in the documentation
Signed-off-by: Christian Loehle <cloehle@hyperstone.com>
---
Documentation/dev-tools/kgdb.rst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/dev-tools/kgdb.rst b/Documentation/dev-tools/kgdb.rst
index 43456244651a..d7acb2bdb0ba 100644
--- a/Documentation/dev-tools/kgdb.rst
+++ b/Documentation/dev-tools/kgdb.rst
@@ -557,9 +557,14 @@ 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
+ Example (using a directly connected port with gdb version < 7.8)::
+
+ % gdb ./vmlinux
+ (gdb) set remotebaud 115200
+ (gdb) target remote /dev/ttyS0
Example (kgdb to a terminal server on TCP port 2012)::
--
2.34.1
Hyperstone GmbH | Reichenaustr. 39a | 78467 Konstanz
Managing Director: Dr. Jan Peter Berns.
Commercial register of local courts: Freiburg HRB381782
prev parent reply other threads:[~2022-01-10 8:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-04 16:56 [PATCH] Documentation: kgdb: Replace deprecated remotebaud Christian Löhle
2022-01-04 17:27 ` Daniel Thompson
2022-01-05 9:58 ` [PATCHv2] " Christian Löhle
2022-01-05 10:52 ` Daniel Thompson
2022-01-06 22:28 ` Jonathan Corbet
2022-01-10 8:26 ` Christian Löhle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=efa448f3c8074fac9e07e258d327cbae@hyperstone.com \
--to=cloehle@hyperstone.com \
--cc=corbet@lwn.net \
--cc=daniel.thompson@linaro.org \
--cc=jason.wessel@windriver.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.