[1510] in Kerberos
dbx kinit
daemon@ATHENA.MIT.EDU (Kirkland)
Wed Aug 14 18:45:26 1991
Date: Wed, 14 Aug 91 13:41:59 MDT
From: Kirkland <kirkland@spruce.den.mmc.com>
To: kerberos@ATHENA.MIT.EDU
I am having some troubles determining how to correctly use dbx... It seems
that I am only able to debug at the top level of the program...
If someone would be so kind as to inform me how to aquire the source for
these routines (within dbx) it would be appreciated. THANKS!
Bill Kirkland (kirkland@aspen.den.mmc.com)
----------------------------------------------------------------------------
% dbx kinit
Reading symbolic information...
Read 303 symbols
(dbx) run
Running: kinit
MIT Project Athena (spruce)
Kerberos Initialization
Kerberos name: kirkland
signal SEGV (no mapping at the fault address) in send_to_kdc at 0x5ac8
send_to_kdc+0x680: ld [%o0], %o1
(dbx) where
send_to_kdc() at 0x5ac8
`krb_get_in_tkt() at 0x489c
krb_get_pw_in_tkt() at 0x297c
main(argc = 0, argv = 0xf7fffcfc), line 160 in "kinit.c"
(dbx) list
160 k_errno = krb_get_pw_in_tkt(aname, inst, realm, "krbtgt", realm,
lif
etime, 0);
161 if (vflag) {
162 printf("Kerberos realm %s:\n", realm);
163 printf("%s\n", krb_err_txt[k_errno]);
164 } else if (k_errno) {
165 fprintf(stderr, "%s: %s\n", progname, krb_err_txt[k_errno]);
166 exit(1);
167 }
168 }
169
(dbx) dump
i = 0
cp = (nil)
k_errno = 32768
lflag = 0
vflag = 0
rflag = 0
iflag = 0
username = (nil)
buf = "spruce"
inst = ""
aname = "kirkland"
argv = 0xf7fffcfc
argc = 0
lifetime = 96
realm = "ATHENA.DEN.MMC.COM"
(dbx) down
Current function is krb_get_pw_in_tkt
174 }
(dbx) list
warning: no source for func "krb_get_pw_in_tkt"
(dbx) down
Current function is krb_get_in_tkt
174 }
(dbx) list
warning: no source for func "krb_get_in_tkt"
(dbx) down
Current function is send_to_kdc
174 }
(dbx) list
warning: no source for func "send_to_kdc"
(dbx) down
Already at the bottom call level
(dbx) dump
(dbx) quit
%
----------------------------------------------------------------------------