Date: Wed, 23 Aug 2006 21:10:45 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Peter Grehan <grehan@freebsd.org> Cc: ppc@freebsd.org Subject: Re: gdb(1) in the tree Message-ID: <46D747A2-7126-450A-83E4-DA7367706F18@xcllnt.net> In-Reply-To: <44ED2448.7030503@freebsd.org> References: <FF91B2A4-68A6-4F30-B3A2-91B849B51415@xcllnt.net> <44ED2448.7030503@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 23, 2006, at 9:00 PM, Peter Grehan wrote: > PowerPC has separate non-coherent I and D caches - writing to > instruction memory requires a a flush of the D cache and an > invalidate of the I cache for that particular memory address. > > This sounds like that type of problem. I'm assuming that gdb uses > a ptrace write to do the breakpoint. There probably needs to be an > MD callout after a PT_WRITE_I. Yes, I was thinking along those lines as well, though I didn't had the details. > I'll see if I can work out what NetBSD does. Ok. In the mean time I'll work on kgdb... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D747A2-7126-450A-83E4-DA7367706F18>