Is it possible to display the accumulated target time in GDB?
No. Problem is, that there is no gdb protocol element to transfer a
controller time to gdb.
It is quite easy to write the simulation time into a memory location
which is not used in the program. This kind of pseudo register can be
monitored/traced via gdb as every other memory.
That can be done by writing a pseudo "hardware" device which works on
every "Step()".
The time is already available and clock speed can be given by command line.
So if it comes to tricky timing issues in AVR, the only way to debug are
trace files and ex poste analysis from simulavr, right?
No, you can also set breakpoints on cycle steps. And if you write the
time from simulavr to a pseudo avr memory location you can break also
from gdb.
Regards
Klaus
_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel