This is the mail archive of the gdb@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: Assumptions on the number of hw watchpoints for some testcases


> From: Luis Machado <luisgpm@linux.vnet.ibm.com>
> Reply-To: luisgpm@linux.vnet.ibm.com
> Date: Thu, 16 Sep 2010 11:56:10 -0300
> 
> I don't think GDB has a handy maint command to tell the testcases how
> many HW watches a target can use.

It doesn't, and it can't: the amount of HW watches available depends
on the alignment and size of the region being watched, and sometimes
on other factors.

The only way of dealing intelligently with these limitations is to
modify the test cases so that they dynamically detect when the HW
resources are exhausted and skip the affected tests.  Not sure how
much labor that would need or whether it's worth the hassle.


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