From: Andrew Cagney <ac131313@cygnus.com>
To: Mark Salter <msalter@redhat.com>
Cc: eliz@is.elta.co.il, gdb-patches@sources.redhat.com
Subject: Re: set/show remotestopbits
Date: Wed, 26 Sep 2001 10:02:00 -0000 [thread overview]
Message-ID: <3BB209FF.4050407@cygnus.com> (raw)
In-Reply-To: <200109261502.f8QF23T27912@deneb.localdomain>
>>>>>> Eli Zaretskii writes:
>
>
>>> Date: Wed, 26 Sep 2001 08:27:45 -0400
>>> From: Mark Salter <msalter@redhat.com>
>>>
>>> I have a target board with a stub and a serial port that is fixed
>>> at 2 stopbits, so I need a way to tell gdb to use something other
>>> than the default 1.
>
>
>> Unless I'm missing something, this command will not auto-complete on
>> possible values. More accurately, it will use the default completion
>> function, which tries to complete on symbols. Is it possible to add
>> support for completion?
>
>
> I'm going to take up Fernando's suggestion for the syntax. I'll look
> at completion then.
>
>
>> In any case, please also send something for gdb.texinfo to document
>> the new command.
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?
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.
Andrew
next prev parent reply other threads:[~2001-09-26 10:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-26 5:27 Mark Salter
2001-09-26 7:35 ` Fernando Nasser
2001-09-26 7:42 ` Eli Zaretskii
2001-09-26 8:02 ` Mark Salter
2001-09-26 10:02 ` Andrew Cagney [this message]
2001-09-26 10:20 ` Mark Salter
2001-09-26 11:09 ` Andrew Cagney
2001-09-26 11:34 ` Mark Salter
2001-09-26 12:50 ` Fernando Nasser
2001-09-26 13:12 ` Andrew Cagney
2001-09-26 13:18 ` Fernando Nasser
2001-09-26 10:42 ` Michael Snyder
2001-09-26 11:01 ` Eli Zaretskii
2001-09-26 11:12 ` Andrew Cagney
2001-09-26 15:45 ` Stan Shebs
2001-09-26 11:23 ` Mark Salter
2001-09-26 11:17 ` Andrew Cagney
2001-09-26 5:35 Mark Salter
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=3BB209FF.4050407@cygnus.com \
--to=ac131313@cygnus.com \
--cc=eliz@is.elta.co.il \
--cc=gdb-patches@sources.redhat.com \
--cc=msalter@redhat.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