From owner-freebsd-hackers Sun May 6 18:55:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 79DED37B422 for ; Sun, 6 May 2001 18:55:54 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id DAA49249; Mon, 7 May 2001 03:55:46 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Rohit Rakshe Cc: Subject: Re: FPU exception, kernel panic References: From: Dag-Erling Smorgrav Date: 07 May 2001 03:55:45 +0200 In-Reply-To: Message-ID: Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rohit Rakshe writes: > 1. The code which I added in kernel does not use any floats. So I am > wondering why this problem should happen at all. The kernel uses the FPU to optimize certain bcopy- or bzero-like operations. > 2. pc register in FPU should give address of the instruction which caused > this exception, right ? Possibly. I'm not very familiar with the FPU. > 3. If yes, how do I translate this 48 bit address in a linear address > which gdb can understand ? You don't. FreeBSD uses a flat address space, you can disregard the segment descriptor. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message