On 2013-02-15 03:12, Orr Dvory wrote:
when debugging with qemu(user mode), qemu waits in infinite loop to read a signal from gdb (when it waits on breakpoint for example). I added sleeps to reduce the cpu usage from 100% to about ~0%.
Wouldn't it be better to toggle the O_NONBLOCK state of the file descriptor across this loop?
r~