From owner-freebsd-hackers Mon Mar 2 11:01:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA22976 for freebsd-hackers-outgoing; Mon, 2 Mar 1998 11:01:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA22937 for ; Mon, 2 Mar 1998 11:01:46 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id KAA01819; Mon, 2 Mar 1998 10:55:25 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd001814; Mon Mar 2 10:55:18 1998 Message-ID: <34FAFF9C.59E2B600@whistle.com> Date: Mon, 02 Mar 1998 10:51:08 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Greg Lehey CC: Mike Smith , FreeBSD Hackers Subject: Re: Kernel debugging: what's going on here? References: <19980228123253.24049@freebie.lemis.com> <199802280214.SAA00165@dingo.cdrom.com> <19980228124844.00033@freebie.lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > On Fri, 27 February 1998 at 18:14:02 -0800, Mike Smith wrote: > >> On Fri, 27 February 1998 at 17:56:46 -0800, Mike Smith wrote: > >>> Yes, I noticed. But rewriting the bp on the fly is not uncommon; quite > >>> a few device drivers do it, it wouldn't surprise me if it wasn't done > >>> elsewhere rather than cloning the original. > >> > >> Sure, all sorts of things modify the buffer header. But you're still > >> missing the point: the processor is stopped here, it's in the > >> debugger. No instructions were executed between the two views. You > >> might just as well take a look at a dump. Since when does the content > >> of memory differ depending on where you look at it from? > > > > Whoops. OK, are we sure that "bp" points to the same type in both > > cases? > > Not any more :-) Somebody else replied first. > > > And more importantly, that bp->b_vp is expected to be the same type? > > Yes, it was. > > > (Yes, this is *really* clutching at straws). There's not much else > > short of a GDB bug that I can think of that would cause this. > > Thanks. I should have seen this myself, but sometimes you end up > looking in the wrong place. > > Greg > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message Ah struct vnode changed recently... didi you do a 'make depend' ? bet it didn't recompile some source... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message