This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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: printf not working in ARM simulator


Actually, we may have found a temporary solution, a hack...

A watchpoint can call commands and resume the program.
So we can have printf send characters to some buffer (possibly hack the code
a bit for that), and when some location is changed, a watchpoint catches
that, gdb prints the content of the buffer, and then resumes execution. If
we can make watchpoint silent such that only the buffered characters are
printed, it would be ideal.

If someone knows of a clean solution along these lines, please let us know.
We'll try to implement something, otherwise.

Thank you,

Roy

-- 
View this message in context: http://www.nabble.com/printf-not-working-in-ARM-simulator-tp21193516p21388042.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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