Hi Petr,
if I understand it right, this patch is useless. You check list of
simulation members if empty or not. But in any case (and if you start
simulation not by python interface, for example) calling empty() will
allways be false. Even, if you start it as gdb server!
The reason for eating cpu time is to find in gdb server design (in my
opinion). If there is no connection and of course no communication the
behaviour is like a free running simulation. And (if there are no other
waiting points) it uses so much cpu time as it can get.
cu, Thomas
URL:
<http://savannah.nongnu.org/patch/?7030>
Summary: do not eat 100% CPU if GDB disconnects
Project: Simulavr: an AVR simulator
Submitted by: petrh
Submitted on: Sun 20 Dec 2009 08:15:14 PM CET
Category: bug fix
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Component Version: simulavrxx
_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel