Re: [RFC] [PATCH] In-kernel gdbstub based on utrace Infrastructure.

From: Ingo Molnar
Date: Tue Dec 01 2009 - 11:12:02 EST



* Frank Ch. Eigler <fche@xxxxxxxxxx> wrote:

> On Mon, Nov 30, 2009 at 04:16:50PM +0100, Ingo Molnar wrote:
> > [...]
> > kgdb exists here and today in the kernel and you cannot just build a
> > facility that doesnt replace it and doesnt integrate well with it.
>
> Surely you don't mean that: every non-kgdb facility in the kernel
> meets that definition, even all debugging-related facilities such as
> perf and ftrace.

Those facilities are not overlapping with kgdb though so my point doesnt
apply to them. An in-kernel gdb server sure overlaps/extends kgdb
though.

Btw., perf does meet that definition: it functionally replaces all
facilities that it overlaps/extends - such as Oprofile. 'What about
Oprofile?' was one of the first questions asked when we posted perf.
'What about kgdb?' is the first question to the in-kernel gdb stub
submission here, for similar reasons.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/