Date: Wed, 19 Sep 2001 11:42:20 -0700 (PDT) From: Bill Fenner <fenner@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/binutils/gdb/i386 kvm-fbsd.c Message-ID: <200109191842.f8JIgLj56659@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109191842.f8JIgLj56659>
