From owner-freebsd-hackers Mon Apr 24 02:12:16 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA28179 for hackers-outgoing; Mon, 24 Apr 1995 02:12:16 -0700 Received: from inet-gw-1.pa.dec.com (inet-gw-1.pa.dec.com [16.1.0.22]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id CAA28166 for ; Mon, 24 Apr 1995 02:12:05 -0700 Received: from rks32.pcs.dec.com by inet-gw-1.pa.dec.com (5.65/24Feb95) id AA00930; Mon, 24 Apr 95 02:06:07 -0700 Received: by rks32.pcs.dec.com (Smail3.1.27.1 #16) id m0s3K2P-0005PMC; Mon, 24 Apr 95 11:02 MSZ Message-Id: To: hackers%freebsd.org@inet-gw-1.pa.dec.com, joerg_wunsch%uriah.heep.sax.de@inet-gw-1.pa.dec.com In-Reply-To: Message from J Wunsch of Mon, 24 Apr 95 00:05:17 O. Reply-To: gj@FreeBSD.org Subject: Re: How do I set a kernel variable? Date: Mon, 24 Apr 95 09:02:36 GMT From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" Sender: hackers-owner@FreeBSD.org Precedence: bulk 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.