[RFC] Global breakpoints

Frank Ch. Eigler fche@redhat.com
Wed May 5 00:17:00 GMT 2010


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



More information about the Gdb mailing list