This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa:cli] Delete one of the two ``struct cmd_list_element''s


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]