This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: x86 hardware breakpoint question
On Fri, Nov 16, 2001 at 05:57:04PM -0500, DJ Delorie wrote:
>
>> So I am surprised to hear that win32
>> lets you set debug registers, but if that works, great!
>
>I don't know if it works, I just looked it up in the documentation.
>
>> Are the debug registers process wide or
>> thread specific in that case ?
>
>Well, it is Set*Thread*Context.
Which is, conveniently enough, what gdb is already using. :-)
Did you find specific documentation on the hardware registers, though?
I see this in the system header:
BYTE ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION];
but I don't see any description about how to use them.
cgf