This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: make add_setshow_cmd public
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 25 Jun 2002 13:10:39 -0600
- Subject: Re: RFA: make add_setshow_cmd public
- References: <87wusndz3l.fsf@fleche.redhat.com> <3D18BC2C.8050007@cygnus.com>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
Andrew> Can the public version return void?
Good question. In most cases, yes.
In some cases we need both command structures so we can deprecate
them; I've been punting on this for now.
I've switched about half the calls so far. I seem to recall one that
needed the return value. I'll have to look for it.
Tom