From: lars b. <la...@no...> - 1999-12-20 17:13:42
|
I have hacked up a debugging proxy called ptproxy. This program spawns two processes. Both are debugged by the proxy, and the debugging calls made by one of the processes are redirected through the proxy to the other process. This is useful for the user-mode kernel, because it's debugging itself to catch system calls. This makes it impossible to directly attach a debugger, because a process can only be debugged by one debugger at a time. With (an adaption of) ptproxy, the kernel can spawn a debugger to debug itself. Availability: cvs -d :pserver:ano...@cv...:/usr/local/cvsroot login (empty password) cvs -d :pserver:ano...@cv...:/usr/local/cvsroot co ptproxy |