On Fri, Jun 19, 2009 at 10:32:04PM -0400, Frank Ch. Eigler wrote: > Hi - > > I'm slowly assembling a prototype gdb stub for debugging user-space > programs, based on utrace, for possible eventual inclusion in the > linux kernel. For the moment, it is a toy alternative to ptrace() for > targeting existing processes, and it's not done even for that. But > before too long though it should be able to use uprobes (q.v.) as a > kernel-side breakpointing facility using the Z packets, and maybe even > support agent expressions, multithreaded processes, and multiprocess > debugging.
Hi Frank, For those of us with less context, why do it this way instead of exposing those features for a userspace gdbserver? I can't say I'm thrilled to have this in kernel space. -- Daniel Jacobowitz CodeSourcery