Re: Fwd: [arm-gnu] printf problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: [arm-gnu] printf problem



hi,

Can you give me give more info on sprinf(), like What are all the functions
it calls, using codesourcery tool chain??
This helps me in debugging this more.

Regards,
Ravi


On Mon, Mar 17, 2008 at 5:10 PM, Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
wrote:

> ravi wrote:
>
> > If I try with that stub, then printf() will also works?
> > In my project I need, both printf() and sprintf() both to work.
> > For printf() to work, i need to modify the __write() to output the
> > string to serial port. In that case how would I differentiate the call
> > for __write() is either from printf() or from sprintf()?
>
> __write is not called for sprintf.
>
> Your problem with sprintf is something else, which you will have to debug.
>
> nathan
>
> --
> Nathan Sidwell    ::   http://www.codesourcery.com   ::
> CodeSourcery
>
>


-- 
regards
ravi