set/show remotestopbits
Mark Salter
msalter@redhat.com
Wed Sep 26 10:20:00 GMT 2001
>>>>> Andrew Cagney writes:
> Mark, can you old off a second - I don't what to have what happened to
> Don, happening again :-) I'm not sure but the command might belong
> somewhere else entirely - where does the commands setting baud rate live
> for instance?
I don't know what happened to Don, but I trust I don't want it to happen
to me.
I put it in cli-cmds.c because that is where set/show remotebaud lives.
> With regard to completion, yes Eli is correct, I noticed the same thing.
> At present you need to use add_enum_cmd(). However, I should warn
> you, add_enum_cmd() has one of the most obscure programmer interfaces
> I've ever seen.
It has no completion because I looked at "set language" as an example of
how to do a command which takes a set of strings. Apparantly it also
suffers from the completion problem.
--Mark
More information about the Gdb-patches
mailing list