kdb
[Top] [All Lists]

Re: kdb source level debugging

To: slurn@xxxxxxxxxxxx
Subject: Re: kdb source level debugging
From: K S Sreeram <ks@xxxxxxxxxx>
Date: 07 Nov 2002 03:36:13 +0530
Cc: kdb@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <200211062213.OAA18449@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <200211062213.OAA18449@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx

On Thu, 2002-11-07 at 03:43, slurn@xxxxxxxxxxxx wrote:
> 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.

Why not keep the source compressed in memory. Since the primary purpose
of this feature, would be debugging/learning, the extra memory usage
will not be a problem on a 128 or 256 megs ram system. We can also come
up with schemes to store only part of the source to allow source
debugging of some parts of the kernel only.. but I wonder how much space
the extra debug info would take up?

Regards
Sreeram
Tachyon Technologies



<Prev in Thread] Current Thread [Next in Thread>