On Wed, Apr 12, 2006 at 04:43:12PM +0800, Oliver Yang wrote:
> Jonathan Adams wrote:
> 
> >On Tue, Apr 11, 2006 at 08:22:15AM +0800, Oliver Yang wrote:
> > 
> >
> >>Sorry for raising the question again, maybe my question is not very 
> >>clear...
> >>
> >>Actually, I need check the general register's value for a specific CPU 
> >>on MP system. But, it seems like ::regs couldn't meet my requirement. 
> >>Does anybody know the other way?
> >>   
> >>
> >
> >Typically, you want to look at the trap frame on the active thread on the
> >CPU.  I haven't done this on i386 in a while; can someone chime in with the
> >procedure?
> >
> >On sparc, you just take the active thread on the cpu, do a ::findstack on 
> >it,
> >take the ktl0 frame address, and do:
> >
> >     addr::print struct frame fr_local[7] | ::print struct regs
> > 
> >
> Sorry. Thank you for your response, although I'm not familiar with sparc 
> platform. 
> 
> I ask this question because sometimes ::findstack doesn't work for me on 
> my crashdump file:

What's the output of '::showrev' on the crashdump?

Cheers,
- jonathan

-- 
Jonathan Adams, Solaris Kernel Development

Reply via email to