This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Hardware watchpoint support for MIPS?
On Thu, 2008-03-20 at 13:01 -0400, Daniel Jacobowitz wrote:
> On Thu, Mar 20, 2008 at 09:22:55AM -0700, David Daney wrote:
> > GDB has had support for i386 debug registers on linux for quite some time
> > now.
> >
> > I was wondering if anyone has worked on similar support for the hardware
> > debug support available in some MIPS processors?
>
> The issue's not GDB support, but kernel support. I've seen several
> proposals to expose watchpoint registers over ptrace on MIPS, but so
> far none of them have merged. The usual place they bog down is how to
> explain to GDB what capabilities are available; x86 has it easy,
> there's basically only one type.
That's a problem in Power as well... What's currently there is
simplistic and hardly adequate.
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center