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


> Date: Tue, 13 Jun 2006 14:43:13 +0800 (CST)
> From: Wu Zhou <woodzltc@cn.ibm.com>
> cc: gdb-patches@sourceware.org
> 
> Do you mean to hard-wire the number of the hw watchpoint the underlying target
> support into these base board files, or just set the number to 1?
> 
> I guess that we might need to work out a way to detect the number 
> automatically. Any thought?

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.


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