lkml.org 
[lkml]   [2009]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [PATCH] In-kernel gdbstub based on utrace Infrastructure.

* Frank Ch. Eigler <fche@redhat.com> wrote:

> peterz wrote:
>
> > Hmm,. wouldn't it make much more sense to extend the current kgdb stub
> > to include userspace debugging, providing an all-in-one solution?
> > I think it would be much more powerful to be able to observe the full
> > software stack and not be limited by this user<->kernel barrier.
>
> There exist other tools for this broad a scope (systemtap being one),
> and present gdb is not well suited for this. That makes this idea an
> exciting potential for the future, but not a practical short-term
> goal.

Well, but Peter's suggestion is the obvious next step - or even a
necessary first step in my view.

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.

So if a unified user/kernel model for debugging is a 'long term' feature
in your view then perhaps this framework (which introduces _extensive_
hooks all around the kernel) is not designed/approached in the right way
and should not be merged in this form.

Concentrating on 'other tools' just generates extensive dependencies on
something that is lacking - making it even harder to implement unified
debugging down the line.

Thanks,

Ingo


\
 
 \ /
  Last update: 2009-11-30 16:19    [W:0.053 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site