[oi-dev] Osol bug id 5748

Alan Coopersmith alan.coopersmith at oracle.com
Fri Apr 8 23:43:21 UTC 2011


On 04/ 8/11 04:29 PM, Frank Middleton wrote:
> 1) The README seems to say that you can run make locally to
> make debuggable executables. This seems to work and gdb had
> no problem finding symbols. Running make in the pkg directory
> also seemed to work. Is this the correct approach? It would be
> nice if one could simply set a flag and have buildit do it...

I suppose - I've never needed the full tree built debuggable, just one or
two modules, so never put any thought or effort into that.

> 2) Tools like truss and pstack currently provide no useful information
> at all. Unless someone more experienced than I can suggest alternatives
> (dTrace?), it seems like debugging is the only practical way to, well,
> debug this.

The nvidia driver obfuscates its symbols, only the nvidia developers can
do much if you're looping in there.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System





More information about the oi-dev mailing list