diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-06-01 13:06:37 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-06-01 13:06:37 -0700 |
commit | 3553723f3ccc7571764b06d63a8c6e4a8f2c55bc (patch) | |
tree | 3105b4bbe0c80f0b571b18af65b1badaf1e2369e /sysdeps/unix/sysv | |
parent | bf50fc70f530b3ddd71dbec123ee285110780133 (diff) | |
download | glibc-3553723f3ccc7571764b06d63a8c6e4a8f2c55bc.tar.gz glibc-3553723f3ccc7571764b06d63a8c6e4a8f2c55bc.tar.xz glibc-3553723f3ccc7571764b06d63a8c6e4a8f2c55bc.zip |
Define DR_LEN_8 only if __x86_64__ is defined
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h b/sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h index 84a901743d..de10277e2b 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h +++ b/sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h @@ -54,7 +54,9 @@ #define DR_LEN_1 (0x0) /* Settings for data length to trap on */ #define DR_LEN_2 (0x4) #define DR_LEN_4 (0xC) -#define DR_LEN_8 (0x8) +#ifdef __x86_64__ +# define DR_LEN_8 (0x8) +#endif /* The low byte to the control register determine which registers are enabled. There are 4 fields of two bits. One bit is "local", meaning |