(Working through the old ones :-() Nick, Can you post a log with/with-out this patch to illustrate what's happening. You're right - emacs should see "stopped" first but there might be a better long-term way to do this. I suspect this will mean playing with the print-stop-reason code. Andrew