Hi,

While searching for kernel source-level debugging on google,
came across the following message. hence subscribed to this group.
I too had the same query.

Now could somebody point me to design doc of kgdb i.e.
how kgdb works internally or
some generic doc on the principle behind this remote debugging concept
for source-level kernel debugging?

Thanks & regards,
-Tanmay

========================================================================
Tanmay Pradhan                | Hewlett Packard ISO
Tru64 UNIX Performance Group  | 3rd floor, Prestige Emerald,
Hewlett Packard               | Lavelle Road, Bangalore-560001,
email: [EMAIL PROTECTED]    | INDIA
url: www.zk3.dec.com/~tanmay  | tel: +91-80-2251554 extn-3448
========================================================================


From: slurn Subject: Re: kdb source level debugging Date: Wed, 06 Nov 2002 14:20:07 -0800



hi


I am interested in implementing source-level debugging features to kdb.
I know that kgdb already does that, but kgdb is very inconvenient to use
compared to kdb as it requires two systems. Adding source level
debugging to kdb would allow me to understand the kernel source code
much better, since i would be able to trace thru the code and see it in
action.

has any such work already been done before? any tips on how this can be
implemented??
The major problem is where to keep the source. Since you're debugging
the kernel, you probably don't want to keep the source on one of the disks, as you may be debugging the filesystem, file cache
or disk driver. You can't use the buffer cache/file cache as that
would perturb the behavior of the system under test in an undesirable
fashion.
A primary design goal of KDB is to use as little of the regular
kernel as possible to allow the highest
level of flexibility in what can and cannot be debugged.
KGDB may be an appropriate vehicle for source-level kernel debugging. scott

Thanks in Advance


Regards
Sreeram
Tachyon Technologies--






Reply via email to