This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] procfs.c: TARGET_CAN_USE_HARDWARE_WATCHPOINT via target vector
Kevin Buettner wrote:
>
> On Aug 13, 5:11pm, Andrew Cagney wrote:
>
> > > +#ifndef TARGET_HAS_HARDWARE_WATCHPOINTS
> >
> > I just think the macro should be `largely' renamed:
> > ``PROCFS_HAS_HARDWARE_WATCHPOINTS''.
> >
> > Largely? There are a few exceptions -- i386v-nat.c and mips/tm-embed.h
> > which could be left alone.
>
> For the procfs related uses, I suspect that we can eliminate the use
> of the macro altogether. (I'd prefer to get Michael's opinion though
> before attempting such a change.)
I don't see how you can eliminate the macro.
How will you distinguish which procfs targets can support HW
watchpoints?