All of lore.kernel.org
 help / color / mirror / Atom feed
* kdb source level debugging
@ 2002-11-06 21:37 K S Sreeram
  0 siblings, 0 replies; 2+ messages in thread
From: K S Sreeram @ 2002-11-06 21:37 UTC (permalink / raw)
  To: linux-kernel

hi

I am interested in implementing source-level debugging features for 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??

Thanks in Advance

Regards
Sreeram
Tachyon Technologies



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kdb source level debugging
       [not found] <200211062213.OAA18449@slurndal-lnx.verisign.com>
@ 2002-11-06 22:06 ` K S Sreeram
  0 siblings, 0 replies; 2+ messages in thread
From: K S Sreeram @ 2002-11-06 22:06 UTC (permalink / raw)
  To: slurn; +Cc: kdb, linux-kernel



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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-06 22:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200211062213.OAA18449@slurndal-lnx.verisign.com>
2002-11-06 22:06 ` kdb source level debugging K S Sreeram
2002-11-06 21:37 K S Sreeram

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.