Re: [RFA v2/code+DOCO+NEWS] new "set/show serial baud" command

Joel Brobecker
2013-10-10T05:59:32Z

[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]

> > gdb/doc/ChangeLog:
> >
> > * gdb.texinfo: Replace "set remotebaud" and "show remotebaud"
> > by "set serial baud" and "show serial baud" (resp) throughout.
>
> You didn't mention the node name in the log entry.

That was intentional, because it's a global search and replace.
It's allowed by the GCS, but if you still prefer I repeat the node
names, let me know, and I will dig them out.

> > If you're using a serial line, you may want to give @value{GDBN} the
> > -@w{@samp{--baud}} option, or use the @code{set remotebaud} command
> > -(@pxref{Remote Configuration, set remotebaud}) before the
> > +@w{@samp{--baud}} option, or use the @code{set serial baud} command
>
> Is @w really needed here? You have only one word there anyway.
>
> Otherwise, OK for the documentation parts.

Thanks! For @w, now that I know what it means :-), I agree it does
seem useless. But it was there before, so in the spirit of not
mixing independent changes in the same patch, here is a second one
that removes it.

gdb/doc/ChangeLog:

* gdb.texinfo (Connecting): Remove unnecessary @w{}.

I will check it in as pre-approved/obvious. Tested on x86_64-linux.

Thank you!
--
Joel

[-- Attachment #2: 0001-Remove-unnecessary-w-in-gdb.texinfo.patch --]
[-- Type: text/x-diff, Size: 881 bytes --]

From 03e74b48b0c1a50bae671083f1530b1fe155e709 Mon Sep 17 00:00:00 2001
From: Joel Brobecker <brobecker@adacore.com>
Date: Thu, 10 Oct 2013 09:51:02 +0400
Subject: [PATCH] Remove unnecessary @w{} in gdb.texinfo

gdb/doc/ChangeLog:

* gdb.texinfo (Connecting): Remove unnecessary @w{}.
---
gdb/doc/gdb.texinfo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index bda2e7b..24773ea 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -18024,7 +18024,7 @@ target remote /dev/ttyb
@end smallexample

If you're using a serial line, you may want to give @value{GDBN} the
-@w{@samp{--baud}} option, or use the @code{set serial baud} command
+@samp{--baud} option, or use the @code{set serial baud} command
(@pxref{Remote Configuration, set serial baud}) before the
@code{target} command.

--
1.8.1.2