From owner-cvs-all Wed Sep 19 12: 3: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 4547737B414; Wed, 19 Sep 2001 12:03:03 -0700 (PDT) Received: from [207.76.207.129] (PBG4.whistle.com [207.76.207.129]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA20865; Wed, 19 Sep 2001 12:02:33 -0700 (PDT) Mime-Version: 1.0 X-Sender: mark-ml@207.76.206.1 Message-Id: In-Reply-To: <200109191842.f8JIgLj56659@freefall.freebsd.org> References: <200109191842.f8JIgLj56659@freefall.freebsd.org> Date: Wed, 19 Sep 2001 12:02:30 -0700 To: Bill Fenner , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org From: Mark Peek Subject: Re: cvs commit: src/gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:42 AM -0700 9/19/01, Bill Fenner wrote: >fenner 2001/09/19 11:42:20 PDT > > Modified files: > gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c > Log: > Don't try to dereference a kernel pointer in userland; use offsetof() > to get the right address. > > This fixes kernel GDB after KSE2. > > Reviewed by: jhb, jake > > Revision Changes Path > 1.27 +2 -2 src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c You beat me to it! :-) I was just testing the same fix. Thanks for fixing it. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message