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: make add_setshow_cmd public


>>>>> "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


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