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: Fri, 9 Jan 2009 17:21:23 -0800 (PST)
- Subject: Re: [ECOS] printf not working in ARM simulator
- References: <21193516.post@talk.nabble.com>
Thank you Robin. We will look into emulators.
But out of curiosity, and since it's easier to work with gdb, and possibly
faster, does the gdb target simulator on cygwin have some escape sequence
that let's it print a character to the screen?
In other words, imagine a particular SWI, or "fake" instruction, or mov byte
to particular address, that once the simulator sees, it prints (or putc) the
character to the screen (cygwin prompt).
Is it easy to add such a feature to the simulator, if it doesn't exist?
gdb's watch point performs something similar but not quite. It can stop the
program when we write to a given address. But we need it to quietly print
the character without stopping the program.
Thank you,
Roy
--
View this message in context: http://www.nabble.com/printf-not-working-in-ARM-simulator-tp21193516p21383601.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