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/8/14 10:36 AM, Dave McGuire wrote:
> On 10/07/2014 09:07 AM, Jonathan Roelofs 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?
> 
>   Well I certainly didn't write it. ;)  Isn't that in libgcc?
Yeah, that comes from libgcc. The pointed question was aimed at whether you were
using the one from llvm's compiler_rt, which had a bug which has subsequently
been fixed, that manifested itself in a similar manner. But since you're not
using that, it's probably not the same problem.


When your processor hangs, can you tell if it's hitting an interrupt, and if so
which one?
> 
>                -Dave
> 

-- 
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]