This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa:cli] Delete one of the two ``struct cmd_list_element''s
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Fernando Nasser <fnasser at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 23 Mar 2002 19:42:05 -0500
- Subject: Re: [rfa:cli] Delete one of the two ``struct cmd_list_element''s
- References: <3C955A02.8070209@cygnus.com> <3C960AFA.72045921@redhat.com>
> Andrew Cagney wrote:
>
>>
>> Hello,
>>
>> This is my fix to the duplicate ``struct cmd_list_element'' definition
>> problem (see "command.h" and "cli/cli-decode.h").
>>
>
>
> Thanks.
It is in.
>
> Well, one of these days we have to get rid of command creation inside
> libgdb. If a command is desired, someone would add the code
> to implement the functionality in libgdb and add the UI parts to
> whatever UI he/she wants to make that functionality available from
> (like the CLI, the MI etc.). With an exception, of course, of the
> set/show commands which would have a UI independent way for registering
> changeable variables (is this what you were suggesting?).
Yes. The set/show framework mostly works (even if it isn't perfect).
It is the other commands that cause the fun.
thanks,
Andrew