you can sprintf() info to char buffer, then check it. If you're running out of memory, gdb simulator allows to have this buffer anywhere you want wihtin 64k limit (this might be an another source of errors, but I intentionally do not want to make read/write restrictions in gdb simulator). ~d
On Wednesday 08 January 2003 12:46, Carles Perello wrote: > Hi there, > > At the risk to sound naughty, I am looking a way to substitute printf > calls from an IAR compiled program, so I can display output on a gdb > window. I know gdb is able to display variables, registes, etc but is > nice to have prntf to trace... > > any idea? > > cheers -- /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/