[ECOS] printf not working in ARM simulator

Portos contact@portos.org
Sat Jan 10 01:21:00 GMT 2009


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



More information about the Ecos-discuss mailing list