From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Michael Snyder Cc: Kevin Buettner , GDB Patches Subject: Re: [patch/but] Fix -Werror probs remote.c, fixes bug Date: Wed, 13 Jun 2001 13:28:00 -0000 Message-id: <3B27CCE3.4070207@cygnus.com> References: <3B000D0F.1080702@cygnus.com> <1010514181430.ZM6964@ocotillo.lan> <3B0027F2.C2417CF4@cygnus.com> <3B003C64.9040306@cygnus.com> <3B004DB3.9684E897@cygnus.com> X-SW-Source: 2001-06/msg00266.html > 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