From: Tom Tromey <tromey@redhat.com>
To: Yurij Grechishhev <yurij.grechishhev@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Setting parity for remote serial
Date: Wed, 10 Jul 2013 18:10:00 -0000 [thread overview]
Message-ID: <87bo6affrh.fsf@fleche.redhat.com> (raw)
In-Reply-To: <CAAyhtXRSWTdpDc4jiZ2k5zWCNUXUzRxNokN1F_aRdMfuWGsBHQ@mail.gmail.com> (Yurij Grechishhev's message of "Wed, 10 Jul 2013 19:17:58 +0400")
>>>>> "Yurij" == Yurij Grechishhev <yurij.grechishhev@gmail.com> writes:
Yurij> GDB doesn't support command to set parity for serial ports. So there
Yurij> is a problem to connect target that use "odd" or "even" parity.
Yurij> The one way is to set parity before launching gdb (stty for Linux or
Yurij> MODE for Windows), but for Windows gdb sets parity to "none" during
Yurij> connection.
Yurij> I suggest using "set remoteparity <odd | even | none>" command for this.
It looks reasonable to me.
There are some formatting issues, but nothing too serious.
Do you have a copyright assignment in place?
If not, contact me off list and I will get you started on that.
This would need at least a ChangeLog entry, documentation patch, and
NEWS patch to be complete. A test case would be nice as well, though I
can see how it would be hard to make it actually do anything :)
Yurij> Do you plan to use "class serial" (set serial ...) for serial settings?
Yurij> "set serial parity <odd | even | none>" is more convenient way.
I didn't even know about "set serial".
It seems like dead code; but I'd have to dig into the history there to
find out.
Tom
next prev parent reply other threads:[~2013-07-10 18:10 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-10 15:18 Yurij Grechishhev
2013-07-10 18:10 ` Tom Tromey [this message]
[not found] ` <524ECCBB.5050307@gmail.com>
2013-10-07 18:33 ` Yurij Grechishhev
2013-10-08 3:56 ` Joel Brobecker
2013-10-08 12:03 ` Pedro Alves
2013-10-08 14:16 ` [RFA/code+NEWS] new "set/show serial baud" command (was: "Re: Setting parity for remote serial") Joel Brobecker
2013-10-08 14:34 ` [RFA/code+NEWS] new "set/show serial baud" command Pedro Alves
2013-10-08 15:00 ` Joel Brobecker
2013-10-08 15:12 ` Tom Tromey
2013-10-09 11:23 ` [RFA v2/code+DOCO+NEWS] " Joel Brobecker
2013-10-09 16:17 ` Pedro Alves
2013-10-10 5:55 ` checked in: " Joel Brobecker
2013-10-09 16:44 ` Eli Zaretskii
2013-10-10 5:59 ` Joel Brobecker
2013-10-10 16:06 ` Eli Zaretskii
2013-10-11 4:51 ` Joel Brobecker
2013-10-11 7:02 ` Eli Zaretskii
2013-10-08 15:24 ` [RFA/code+NEWS] new "set/show serial baud" command (was: "Re: Setting parity for remote serial") Eli Zaretskii
2013-10-09 2:05 ` Doug Evans
2013-10-09 3:57 ` Joel Brobecker
2013-10-09 8:31 ` [RFA/code+NEWS] new "set/show serial baud" command Pedro Alves
2013-07-24 14:29 Setting parity for remote serial Yurij Grechishhev
2013-07-24 16:53 ` Eli Zaretskii
2013-07-25 7:15 ` Yurij Grechishhev
2013-07-25 16:21 ` Eli Zaretskii
[not found] ` <CAAyhtXRJaoxvfm7FH06AXeATgscXn4SrY5=ZD_h=BBmPoUdTBQ@mail.gmail.com>
2013-07-29 18:34 ` Eli Zaretskii
2013-07-29 19:25 ` Pedro Alves
2013-07-29 20:14 ` Yurij Grechishhev
2013-07-29 19:04 ` Yurij Grechishhev
2013-09-26 17:00 ` Joel Brobecker
2013-10-02 21:59 ` Yurij Grechishhev
[not found] ` <CAAyhtXTmrJ04BVhziaFnogGyWLz7+G+Qwbc9UnHJkrEbDgTjFw@mail.gmail.com>
2013-10-04 7:34 ` Joel Brobecker
2013-10-09 4:11 ` Joel Brobecker
2015-02-25 15:16 ` Joel Brobecker
[not found] ` <CAAyhtXRC8DFk0SdfLoQvhWk_+h5AFZW2QmXQ6RcdCVC9Asx9Vw@mail.gmail.com>
2015-02-27 8:16 ` Joel Brobecker
2015-03-15 21:49 ` Yurij Grechishhev
2015-03-16 3:32 ` Eli Zaretskii
2015-03-17 14:56 ` Joel Brobecker
2015-03-22 22:52 ` Yurij Grechishhev
2015-03-23 13:11 ` Joel Brobecker
2015-03-23 15:36 ` Eli Zaretskii
2015-03-23 21:21 ` Yurij Grechishhev
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=87bo6affrh.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=yurij.grechishhev@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox