Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 95 09:02:36 GMT
From:      "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com>
To:        hackers%freebsd.org@inet-gw-1.pa.dec.com, joerg_wunsch%uriah.heep.sax.de@inet-gw-1.pa.dec.com
Subject:   Re: How do I set a kernel variable? 
Message-ID:  <m0s3K2P-0005PMC@rks32.pcs.dec.com>
In-Reply-To: Message from J Wunsch <j@jette.heep.sax.de>  of Mon, 24 Apr 95 00:05:17 O.

next in thread | previous in thread | raw e-mail | index | archive | help
J"org Wunsch writes:

>> you'll get an error, because gdb tries to open /kernel for writing, which
>> (for some reason) fails miserably.
>
> /kernel installed by ``make install''?  I think it will have the
> immutable flag set then.

this occurred to me after I sent out the mail.

>> 
>> Maybe we should have a "-w" flag to specify opening the core-file for
>> writing ? Any opinions ?
>
> After reading your description, just this question came to mind.  If
> nobody objects: go for it.

OK, this is a trivial change. I'll do it, if no one objects.

>> 
>> Could you add this tip to the kernel-debug.FAQ, J"org ?
>
> Once my CVS is back, yes.  Otherwise: you've got commit privs, too.

Ah, but I >do not< have commit privs (yet) ! Otherwise, I wouldn't have asked
you to do it.

> I don't mind doing it however.  Will keep you message in my growing
> work queue, as a reminder.

OK, thanks. Could be that I get the change done before you get around to
putting the "evil trickery" into the FAQ. But then, a reference to the "-w"
flag should probably be added to it.

> Jvrg

Using the Umlauts on your keyboard again, eh ? :-)

Gary J.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0s3K2P-0005PMC>