From owner-cvs-all Wed Sep 19 13:33: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id C22A637B40B; Wed, 19 Sep 2001 13:32:48 -0700 (PDT) Received: from laptop.baldwin.cx ([147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id NAA12852; Wed, 19 Sep 2001 13:32:47 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 19 Sep 2001 13:32:33 -0700 (PDT) From: John Baldwin To: Mark Peek Subject: Re: cvs commit: src/gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Bill Fenner 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 On 19-Sep-01 Mark Peek wrote: > 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. FWIW, the gdb stuff is needlessly MD. Most of kvm-fbsd.c is quite MI, so I'm currently working on breaking out the MI bits and merging the two. I'll try and get a patch out for people to play with in a few days. Fun, fun. :-P > Mark -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message