This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: prototyping linux kernel-side gdbstub for userspace
- From: Daniel Jacobowitz <drow at false dot org>
- To: archer at sourceware dot org, utrace-devel at redhat dot com,systemtap at sourceware dot org
- Date: Sun, 21 Jun 2009 11:16:06 -0400
- Subject: Re: prototyping linux kernel-side gdbstub for userspace
- References: <20090620023204.GK19576@redhat.com>
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