Subject: Re: powerhooks and SCSI disks
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: James Chacon <jmc@netbsd.org>
List: tech-kern
Date: 12/16/2005 23:10:32
On Sat, Dec 17, 2005 at 12:12:09AM +0100, Pavel Cahyna wrote:
> On Fri, Dec 16, 2005 at 11:35:38PM +0100, Manuel Bouyer wrote:
> > > Should I put a breakpoint somewhere? I have a netbsd.gdb ,
> > 
> > You can try to set one on sd_interpret_sense, and see at which point
> > here it returns.
> 
> Im' afraid that it is beyond the abilities of ddb :-(

Well..netbsd.gdb implied you had kgdb setup. But if you're just using ddb
you can set a breakpoint there and single step looking for the return and
note the address. Then inside gdb you can match that address up to code.

James