Re: [RFC] Wrong hw_watchpoint_used_count? (multiple location watchpoints)

Joel Brobecker
2010-01-08T13:09:13Z

> That _is_ the design. However, GDB does not tell enough to the target
> for the target to give an accurate answer. And what's more, some
> questions cannot be answered without actually trying to call ptrace or
> its equivalents, and getting its ``opinion''. Unless we mirror all
> the necessary information on the target level that is (which is what
> x86 does).

Hmmm, so you're saying that the situation on x86 is because we cannot
know in advance how many watchpoints the CPU provides?

--
Joel