Hello,

I'm developing an app that uses heavily printf for debugging... Now, when
activated (through a DEBUG macro), the app crashes very rapidly, being
random the moment it crashes (almost always it crashes mid sentence)...

I just found this page:
http://processors.wiki.ti.com/index.php/Tips_for_using_printf

How much of it correlates to the way mspgcc handles printf? Is it the same?
Can I use the same techniques for using static memory for printf?

Basically, i want to use this (I'm trying to extract the most important
info of the page)

char static_array[20];
setvbuf(stdout, static_array, _IOLBF, sizeof(static_array));


Does this work on mspgcc?

Best regards,

-- 
--------------------------------------
Sergio Campamá
sergiocamp...@gmail.com
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to