This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Global breakpoints


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]