[PATCH]: Make Linux use the new unified x86 watchpoint support
Tue Mar 27 11:59:00 GMT 2001
Fernando Nasser wrote:
> Eli Zaretskii wrote:
> > In other words, this kind of global registers is (or was when we
> > discussed it) incompatible with how regcache works. That is why I was
> > advised not to introduce the debug registers into the regcache.
> I agree. The user has no reason to be meddling with those (unless
> he/she is debugging a debugger, but he/she could still check the values
> that are loaded there while they are still in GPS registers).
> I think we should consider these debug registers as some piece of
> debugger hardware similar to one of those JTAG devices, a kind of
> CPU-embeded logic analyzer or something of a sort -- some debugger
> device that GDB uses, not as an inferior resource.
Then you need some target-vector-dependent way to fetch them.
More information about the Gdb-patches