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
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [patch/but] Fix -Werror probs remote.c, fixes bug
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 13 Jun 2001 16:28:19 -0400
- Cc: Kevin Buettner <kevinb at cygnus dot com>,GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- References: <3B000D0F.1080702@cygnus.com> <1010514181430.ZM6964@ocotillo.lan> <3B0027F2.C2417CF4@cygnus.com> <3B003C64.9040306@cygnus.com> <3B004DB3.9684E897@cygnus.com>
> 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