From owner-cvs-all Wed Sep 19 11:42:26 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DC3D837B419; Wed, 19 Sep 2001 11:42:21 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8JIgLj56659; Wed, 19 Sep 2001 11:42:21 -0700 (PDT) (envelope-from fenner) Message-Id: <200109191842.f8JIgLj56659@freefall.freebsd.org> From: Bill Fenner Date: Wed, 19 Sep 2001 11:42:20 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c X-FreeBSD-CVS-Branch: HEAD 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message