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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to