This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: adjust watchpoint testing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]