Lori Alt wrote:
> I've run into this same issue recently and I'm working with someone in 
> the Sun Studio group to help me figure it out, but so far, no luck.
> I thought that the only thing I needed to do was to make sure that the 
> compiler and the linker were being executed with the -g option, but 
> I've done that and I still can't get dbx to recognize the dynamic 
> libraries has having debugger info.
>
> So if I get the answer, I'll post it here.  In the meantime, if anyone 
> else knows the trick, I'd appreciate learning it.
Are the binaries still gettting stripped? Run file path/to/libzpool.. It 
should tell you if it's stripped or not..

/* Shameless self promotion
Our project (OSUNIX) is a work-in-progress, but makes all this a lot 
easier.  In theory to do this for osunix you'd just have to change a 
simple build configuration file and pmerge -1 libzpool.. You would 
probably want to make a snapshot and new boot environment before this, 
which in the future should be automatically.. You could also test any 
patches by changing only one line in the build script (This is 
convenient for testing webrev.. etc) Handling this cleanly was in my 
short lightening talk at CommunityOne..

After our next release I'll post a tutorial on this..
*/

./C

Reply via email to