So while debugging Dynamips I got this fun message under GDB. Â Of course it doesn’t tell you WHAT function did it, or HOW it was trying to do it. Â Fantastic.
ThankfullyÂ Dennis Yurichev’s blogÂ gave me the hint to put a breakpoint on ‘OutputDebugStringA’ and sure enough I could see Dynamips trying to treat a socket like a stdio file handle. Â Something you can’t do in Win32 world.
On the plus side, I just had to do a small re-write of some functions and I can talk to the Dynamips hypervisor! Â Idle and JIT are working too! Â Along with WinPcap and UDP transports.