Subject: Re: evaluating symbols in ddb
To: Kamal Prasad <kamalpr@yahoo.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 06/05/2002 11:36:28
On Wed, 5 Jun 2002, Kamal Prasad wrote:

> I am using ddb in macppc-netbsd to look at
> panics,deadlocks etc.. I cannot/may not be able to
> -access this via gdb.
> assuming I have a stack from trace /t ... in ddb:-
> 1. How do I evaluate parameters to a function call
> inside a stack frame?
> 2. the local variables inside a stack frame

Not sure on those. ddb is a much simpler debugger than gdb. To use gdb,
you'd need either a core dump, or another machine.

> 3. identify the symptomps that guarantee a
> deadlock/live-lock?

Well, if that were easy to do automatically, we'd work at avoiding the
problems. :-)

It would depend exactly on what deadlock you're encountering.

Take care,

Bill