This solved my problem:

dmake COPTFLAG=-g DEBUGFORMAT="-xdebugformat=dwarf"

On Tue, Oct 20, 2009 at 03:03:21PM -0500, Will Fiveash wrote:
> I've been trying to use /opt/SUNWspro/SS12/bin/dbx to debug
> pam_krb5.so.1 which is a dlopened() object used by PAM.  The problem I'm
> having is that when I try to stop in a function in pam_krb5.so.1 dbx
> warns:
> 
> dbx: warning: 'attempt_krb5_auth' has no debugger info -- will trigger on 
> first instruction
> 
> Note that this happens when I run these dbx commands:
> 
> loadobject -load /usr/lib/security/pam_krb5.so.1
> stop in `/usr/lib/security/pam_krb5.so.1`krb5_authenticate.c`attempt_krb5_auth
> 
> I don't get this.  I've compiled pam_krb5.so.1 like so:
> 
> COPTFLAG='-g' XFFLAG='' CTFCONVERT_O="" CTFMERGE_LIB="" dmake
> 
> Using the file command on the installed pam_krb5.so.1 reports:
> 
> # file pam_krb5.so.1
> pam_krb5.so.1:  ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically 
> linked, not stripped
> 
> Thoughts?
> 
> -- 
> Will Fiveash
> Sun Microsystems Inc.
> http://opensolaris.org/os/project/kerberos/
> Sent from mutt, a sweet ASCII MUA
> _______________________________________________
> opensolaris-code mailing list
> opensolaris-code@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

-- 
Will Fiveash
Sun Microsystems Inc.
http://opensolaris.org/os/project/kerberos/
Sent from mutt, a sweet ASCII MUA
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to