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]

Re: [patch/but] Fix -Werror probs remote.c, fixes bug


> Andrew Cagney wrote:
> 
>> 
>> To follow up on this,
>> The reason I wondered about no_shared_library() is because the exported
>> function takes two arguments, both of which are ignored.
> 
> 
> That's to support a user command that also invokes the same function.
> If it bothers you, I could export a function with no arguments that
> simply invokes the other function which does take arguments (the one
> that implements the user command).


I'd prefer this yes.  The CLI code should just call that same function. 
  I suspect this will be fixed when someone returns to wacking out the CLI.

	Andrew





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