From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Salter To: ac131313@cygnus.com Cc: eliz@is.elta.co.il, gdb-patches@sources.redhat.com Subject: Re: set/show remotestopbits Date: Wed, 26 Sep 2001 10:20:00 -0000 Message-id: <200109261720.f8QHKWK28267@deneb.localdomain> References: <200109261227.f8QCRjr27498@deneb.localdomain> <1858-Wed26Sep2001164321+0300-eliz@is.elta.co.il> <200109261502.f8QF23T27912@deneb.localdomain> <3BB209FF.4050407@cygnus.com> X-SW-Source: 2001-09/msg00355.html >>>>> 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