Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 13:32:33 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mark Peek <mark@whistle.com>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Bill Fenner <fenner@FreeBSD.org>
Subject:   Re: cvs commit: src/gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c
Message-ID:  <XFMail.010919133233.jhb@FreeBSD.org>
In-Reply-To: <p0510030cb7ce9bced7d0@[207.76.207.129]>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010919133233.jhb>