This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: Make Linux use the new unified x86 watchpoint support
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.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9