Frank Hofmann - Solaris Sustaining writes:
 > 
 > In kernel debugging, you usually pull an address out of thin air.


In (gdb/dbx) I typically pull an address off the stack in the form of
local variables or function arguments.  In gdb parlance, a typical
debugging session for me will be something like:

backtrace
frame 4
print *local_variable
print *function_arg0
<...>

 > Read the following:
 > 
 > http://cvs.opensolaris.org/source/xref/usr/src/cmd/mdb/common/modules/genunix/ty
 > pegraph.c
 > 
 > It tells you what mdb can do in this space.

To be honest, that doesn't tell me much.  But I'm excited
to play with it more the next time I have a crash to diagnose.

Thanks for the pointers..

Drew



Reply via email to