This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: rwatchpoint configuration
> > Since the MicroBlaze target can indeed set read-only watchpoints, this
> > should not happen. It looks as if the target has not been properly
> > configured. Could someone point me to the appropriate configuration
> > settings and what the correct values should be for a processor that
> > natively supports read watchpoints?
>
> I don't think there is an appropriate configuration knob at present.
>
> Eli, I think I remember you discussing this with someone else, a year
> or two ago; do you remember the reasoning? If the watchpoint's type
> is "only trigger on reads", then core GDB assuming it triggers on all
> accesses seems problematic to me.
>
I did see some references to such behavior. e.g:
http://sources.redhat.com/ml/gdb/2005-11/msg00242.html
However since it was ~ 2005, I assumed that was old.
-Siva