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: [rfc/cli:rfa] Don't copy func() into show from set ..


> Andrew Cagney wrote:
> 
>> 
> 
>> > Andrew, I agree with all that you say before but I have some
>> > additional thoughts.
> 
>> 
>> I'll leave it for a week then commit it (if that is ok) .....
>> 
> 
> 
> Sure.

It is now in.

thanks!
Andrew



2002-03-23  Andrew Cagney  <ac131313@redhat.com>

         * cli/cli-decode.c: Include "gdb_assert.h".
         (add_set_or_show_cmd): New static function.
         (add_set_cmd): Rewrite.  Use add_set_or_show_cmd.
         (add_show_from_set): Rewrite. Use add_set_or_show_cmd.  Don't copy
         all fields, such as func, from the set command.




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