This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: first post, perplexed by printf()



On 10/3/14 1:13 AM, Freddie Chopin wrote:
> On 10/03/2014 05:42 AM, Dave McGuire wrote:
>> If I do printf("%d\n", 1); everything works fine.  If I do
>> printf("%d\n", 10);, my processor hangs.  (again with no debugging
Pointed question: where did you get your implementation of __aeabi_divmod?
>> support just yet, I don't know where)  In other words, as soon as I try
QEMU might be another option to get a debugger hooked up to inspect the thing at
runtime.

Cheers,
Jon

>> to format an integer with more than one digit, it hangs.  I can add
>> characters to the format string, and it works.  I've given it ever more
>> stack, no change. (I'm aware of printf()'s appetite for memory)

-- 
Jon Roelofs
jonathan@codesourcery.com
CodeSourcery / Mentor Embedded


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