This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
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).