This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] Global breakpoints
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Stan Shebs <stan at codesourcery dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 04 May 2010 20:17:21 -0400
- Subject: Re: [RFC] Global breakpoints
- References: <4BE0A112.8080503@codesourcery.com>
Stan Shebs <stan@codesourcery.com> writes:
> [...] Implementation in Linux is going to be kind of freaky. It's
> not desirable to have GDB attach to every process in sight
> preemptively, nor to have GDBserver do it, which means that we're
> talking about something like a mini GDB stub embedded in a kernel
> module. [...]
You could check out our gdbstub-in-kernel prototype. It has the
benefit that it is not a 'mini' stub but in time a full gdbserver
substitute. It has the unbenefit that it is built on utrace, which is
a source of controversy. OTOH, gdb embracing it could just blow out
the flames, which would be oh so nice.
http://lkml.org/lkml/2009/11/30/173
git://elastic.org/~fche/utrace-ext.git branch utrace-gdbstub-uprobes
- FChE