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] Use `unsigned long' for Linux/x86 debug registers



On Sun, 1 Apr 2001, Mark Kettenis wrote:

> It just occurred to me that Linux/x86 should really be using `unsigned
> long' instead of `long' as the type for debug register values.

They should indeed be unsigned, but why `unsigned long' instead of 
`unsigned int'?  i386-nat.c uses the latter, and ia32 debug registers
are 32-bit wide.


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