This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: printf not working in ARM simulator
- From: Portos <contact at portos dot org>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sat, 10 Jan 2009 05:17:00 -0800 (PST)
- Subject: Re: [ECOS] printf not working in ARM simulator
- References: <21193516.post@talk.nabble.com>
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