kdb
[Top] [All Lists]

Re: kdb questions

To: "Dunlap, Randy" <randy.dunlap@xxxxxxxxx>
Subject: Re: kdb questions
From: Keith Owens <kaos@xxxxxxxxxxxxxxxxx>
Date: Thu, 13 Jul 2000 09:51:42 +1000
Cc: kdb@xxxxxxxxxxx
In-reply-to: Your message of "Wed, 12 Jul 2000 16:44:43 MST." <D5E932F578EBD111AC3F00A0C96B1E6F0545CF5F@orsmsx31.jf.intel.com>
Sender: owner-kdb@xxxxxxxxxxx
On Wed, 12 Jul 2000 16:44:43 -0700, 
"Dunlap, Randy" <randy.dunlap@xxxxxxxxx> wrote:
>With kdb (i386), are there ways to
>1) read a physical memory address or
>2) read from an io port?

There are no builtin commands to do this, mainly because each bit of
hardware has different rules about when ports can be read, e.g. write A
to port X before you can read B from port Y.  Also kdb disables all
interrupts which makes it difficult to do any I/O.  My current optinion
is that this problem is best dealt with by the writing your own little
kdb module to provide the hardware specific commands for the driver
being debugged.


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