Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 10:50:19 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Hiten Pandya <hiten@uk.FreeBSD.org>
Cc:        hackers@FreeBSD.org
Subject:   Re: Debugging BTX Faults
Message-ID:  <XFMail.20020321105019.jhb@FreeBSD.org>
In-Reply-To: <20020320214521.A23027@hpdi.ath.cx>

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

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




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