From owner-freebsd-hackers Thu Mar 21 7:50:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail17.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id B196637B419 for ; Thu, 21 Mar 2002 07:50:22 -0800 (PST) Received: (qmail 18868 invoked from network); 21 Mar 2002 07:50:21 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 21 Mar 2002 07:50:21 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2LForv66369; Thu, 21 Mar 2002 10:50:53 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020320214521.A23027@hpdi.ath.cx> Date: Thu, 21 Mar 2002 10:50:19 -0500 (EST) From: John Baldwin To: Hiten Pandya Subject: Re: Debugging BTX Faults Cc: hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 20-Mar-2002 Hiten Pandya wrote: > On 20-Mar-2002 Hiten Pandya wrote: >> Hi all, >> > How does one debug faults in the BTX Loader? I am currently trying >> to work on PR i386/21559, and after reading jhb's document on the >> loading process, I was curious to know.. > >> Well, you need to be fairly familiar with how IA32 works. The int= >> number is the fault that was triggered. Then, use a program to convert >> the hex dump at cs:eip to binary > > Which tool can be used for this task? Any available in the ports? Not that I'm aware of, I just wrote a little util in C. Not very hard to one to write. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message