kdb
[Top] [All Lists]

Displaying the contents of local variables?

To: kdb@xxxxxxxxxxx
Subject: Displaying the contents of local variables?
From: Timur Tabi <timur.tabi@xxxxxxxxxxx>
Date: Fri, 27 Aug 2004 14:24:47 -0500
Organization: Ammasso
Reply-to: kdb@xxxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
I'm new to kdb, so I'm sure this is a FAQ, but I haven't found the 
answer anywhere.

Is it possible to display local variables?  I'm debugging my driver on 
the 2.6 Linux kernel, and I've hit a breakpoint inside a function. 
There are a number of local variables and parameters that I'd like to 
display, but the md command doesn't recognize any of the variable names. 
  When I do something like "md arg", I just get an error.  Is this 
supposed to work, or am I going to have to manually figure out where my 
variables are on the stack?

-- 
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>