Jonathan Adams writes:
 > 
 > You can just do:
 > 
 > > devnamesp::print [20]
 > {   
 >     [20].dn_name = 0xffffffff82a46ba0 "hci1394"
 > ...
 > }
 > 

Here's a dumb question..

I'm coming from well over a decade of using gdb and dbx before that.
With those debuggers, the debugger already knows the type (unless you
pull an address out of thin air, or it is a void * or something).  All
of the mdb examples I see show people specifying the type explicitly.
However, from what you show above, it appears that specifying the type
is not always needed.  Is this new, or have I just been looking
at bad examples?

Drew





Reply via email to