Assumptions on the number of hw watchpoints for some testcases
Eli Zaretskii
eliz@gnu.org
Thu Sep 16 15:42:00 GMT 2010
> 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.
More information about the Gdb
mailing list