Gerald Pfeifer <[EMAIL PROTECTED]> writes:
> Poul-Henning, your patch to src/sys/i386/include/reg.h
>
>   revision 1.28
>   date: 2002/10/20 20:48:56;  author: phk;  state: Exp;  lines: +6 -9
>   Change the definition of the debugging registers to be an array, so
>   that we can index into it, rather than do pointer gymnastics on a
>   structure containing 8 elements.
>
> unfortunately changed this structure in a way that makes it hard to
> write code that remains compatible across -STABLE and -CURRENT.

That revision doesn't change the structure, just how it is defined, so
binary compatibility is not an issue.  As for source compatibility,
just use the DBREG_DRX macro, which exists in both -STABLE and
-CURRENT (it was merged into -STABLE two years ago).

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to