kdb
[Top] [All Lists]

Re: display of local varaibles in kdb

To: umesh chandak <chandak_umesh@xxxxxxxxx>
Subject: Re: display of local varaibles in kdb
From: Keith Owens <kaos@xxxxxxx>
Date: Tue, 11 Oct 2005 10:06:23 +1000
Cc: kdb@xxxxxxxxxxx
In-reply-to: Your message of "Mon, 10 Oct 2005 10:49:03 MST." <20051010174903.19536.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
On Mon, 10 Oct 2005 10:49:03 -0700 (PDT), 
umesh chandak <chandak_umesh@xxxxxxxxx> wrote:
>          Hi i am using kdb for kernel 2.6.10 .
>And i am debuging netif_rx function in the kernel .
>So i want to see the local variable in that function .
>But i unable to watch local variable named skb .

KDB only knows about global and static symbols.  It does not know about
the names of local symbols on the stack.  However KDB does know about
function parameters, and skb is a parameter to netif_rx.  Use the bt
(backtrace) command to display the parameters passed into a function.

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>