Date: Tue, 3 Aug 1999 14:31:36 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: dwmalone@maths.tcd.ie (David Malone) Cc: archie@whistle.com (Archie Cobbs), grog@lemis.com, current@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: Panic plus advice needed Message-ID: <199908032131.OAA76026@bubba.whistle.com> In-Reply-To: <19990803221433.A36019@walton.maths.tcd.ie> from David Malone at "Aug 3, 1999 10:14:33 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
David Malone writes: > > > bde has reported that the code may not be identical when compiling for > > > debugging. It should be, but for obscure reasons it doesn't quite > > > make it. > > > > I'd be interested in seeing a pointer to those reasons, if you have one.. > > One reason adding -g doesn't work at times is if the kernel is > recompiled by a person with a different length username. vers.c > is produced with a string which is a different length which screws > up the offsets. > > Maybe newvers.sh should pad usernames to the legal max? Maybe we should > warn people to touch vers.c after editing the Makefile? That would be really helpful to us actually and I imagine lots of people. In fact, you don't need to pad the username, just add the right number of zeroes to the end of the string, eg. const char *uname = "..blah username blah.." "\0\0\0\0\0"; -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908032131.OAA76026>