adjust watchpoint testing
Eli Zaretskii
eliz@gnu.org
Wed Jun 14 03:32:00 GMT 2006
> Date: Wed, 14 Jun 2006 09:21:52 +0800 (CST)
> From: Wu Zhou <woodzltc@cn.ibm.com>
> cc: nathan@codesourcery.com, gdb-patches@sourceware.org
>
> > I don't think there's any practical way to detect the number of
> > supported watchpoints. It depends on the particulars of the watched
> > regions, and different targets have different peculiarities. For
> > example, x86 can set an unlimited number of watchpoints provided that
> > they watch the same address and length.
>
> What about adding a gdbarch specific member function to do this?
What would that function do? I thought I explained that the question
``how many watchpoints can the target give us'' has no meaningful
answer, unless you also supply the specific mix of addresses and sizes
of the regions you wish to watch.
More information about the Gdb-patches
mailing list