adjust watchpoint testing
Daniel Jacobowitz
drow@false.org
Tue Jun 13 13:11:00 GMT 2006
On Tue, Jun 13, 2006 at 02:12:30PM +0800, Wu Zhou wrote:
> I am now using a test and trial method. If rwatch command reports that
> this type of hw watchpoint is not supported, then I will assume this
> target don't support hardware watchpoint; if it replys with a message
> "Hardware read watchpoint...", then I assume it is supported. But I
> don't figure out how to get precisely how many hw watchpoints the
> target support? How did you make that? Can you share your idea with
> me? Thanks a lot!
This is the right way to do it in the testsuite. Nathan's suggestion
just makes it easier for GDB to give the right responses when doing
this on a remote target.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list