simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Can I display the simulated controller time in gdb?


From: Thomas K
Subject: Re: [Simulavr-devel] Can I display the simulated controller time in gdb?
Date: Sun, 12 Mar 2017 17:12:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Hi Wolfgang,

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.

Any trick?

If you want this inside gdb, then not. See above.

With port output, as Markus proposed, is a way to calculate it after simulation. (the trace file will be written continuousely, but the buffering will produce a visible file, if the buffer is filled, not before!)

There is another idea to use a redis or mqtt server or such. simulavr will then write as client to such server. (and so there is no problem, if you stop processing in simulavr by gdb!) Then other process can overtake data from such server and display it as you want. But ... in the moment it's just a idea!

cu, Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]