> <address>$<bufctl_audit  (Produces typical stack)
> 
> .....
> void Tug::Initialize+0x28cc
> main+0x2f4
> _start+0x108
> 
> >main::dis (Works as expected....)
> >Tug::Initialize::dis <---(Obviously not gonna work!)
> 
> What's correct syntax to disassemble Tug::Initialize?

There is no support in mdb for C++ (or any non-C language) symbols: you have
to specify the mangled form.  This is in part because there is no generic
mangling routine offered by the compilers -- there is only demangling.  If you
want to do the above, mdb need to get much further in bed with a particular
compiler, which is one of the places we've thus far avoiding going.

-Mike
 
-- 
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/

Reply via email to