This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [PATCH]: Make Linux use the new unified x86 watchpoint support


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.


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