Hi again, > But from Solaris 10 on, something must be different about the way cron is > linked; mdb > can no longer see that symbol. (unless there's some trick I'm missing)
I'd be very much interested if there is a trick other than adding CTF symbols to cron: http://cr.opensolaris.org/~nigoroll/cron_ctf.patch Note: I took the SMF Makefiles as an example, and including ../svc/Makefile.ctf probably isn't nice, but Makefile.ctf is so generic that I wonder why it's not in usr/src/cmd ? (By the way, is there any documentation on the ctf tools available which I have missed, apparently?) Anyway, after recompiling cron with these changes, I get wonderful symbols in mdb: > qq,3::print "a.out`struct queue" { njob = 0 nice = 0 nwait = 0 nrun = 0 } { njob = 0x3d5a48 nice = 0 nwait = 0 nrun = 0x9 } { njob = 0x492a8499 nice = 0x15180 nwait = 0xa nrun = 0 } Note: I am using "cron`struct queue" to differentiate from the STREAMS struct queue (maybe cron's queue name should be changed?) Nils _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
