This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setting parity for remote serial


On 07/10/2013 07:09 PM, Tom Tromey wrote:

> 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.

Yeah, I don't know the history either, but it'd be totally fine with me
to start making use of it.  These "set remotefoo" commands with no space
in them look really oddly named.  However, adding "set serial parity" without
aliasing "set serial baud" to the old "set remotebaud" (and deprecating
that) wouldn't be desirable.  IOW, IMO, if we add "set serial parity",
we should also alias "set remotebaud" to "set serial baud", and whatever
other commands would make sense (which should be really simple to do).

Thanks,
-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]