* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
	values and macros for register names.
This commit is contained in:
Ulrich Drepper 2000-03-14 10:39:15 +00:00
parent 9658516adf
commit 6213a05545
2 changed files with 41 additions and 38 deletions

View File

@ -1,5 +1,8 @@
2000-03-14 Ulrich Drepper <drepper@redhat.com> 2000-03-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
values and macros for register names.
* libio/iofopncook.c (_IO_cookie_seek): Return error only if value * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
returned by seek cookie function is -1. returned by seek cookie function is -1.

View File

@ -44,44 +44,44 @@ typedef greg_t gregset_t[NGREG];
/* Number of each register is the `gregset_t' array. */ /* Number of each register is the `gregset_t' array. */
enum enum
{ {
GS = 0, REG_GS = 0,
# define GS GS # define REG_GS REG_GS
FS, REG_FS,
# define FS FS # define REG_FS REG_FS
ES, REG_ES,
# define ES ES # define REG_ES REG_ES
DS, REG_DS,
# define DS DS # define REG_DS REG_DS
EDI, REG_EDI,
# define EDI EDI # define REG_EDI REG_EDI
ESI, REG_ESI,
# define ESI ESI # define REG_ESI REG_ESI
EBP, REG_EBP,
# define EBP EBP # define REG_EBP REG_EBP
ESP, REG_ESP,
# define ESP ESP # define REG_ESP REG_ESP
EBX, REG_EBX,
# define EBX EBX # define REG_EBX REG_EBX
EDX, REG_EDX,
# define EDX EDX # define REG_EDX REG_EDX
ECX, REG_ECX,
# define ECX ECX # define REG_ECX REG_ECX
EAX, REG_EAX,
# define EAX EAX # define REG_EAX REG_EAX
TRAPNO, REG_TRAPNO,
# define TRAPNO TRAPNO # define REG_TRAPNO REG_TRAPNO
ERR, REG_ERR,
# define ERR ERR # define REG_ERR REG_ERR
EIP, REG_EIP,
# define EIP EIP # define REG_EIP REG_EIP
CS, REG_CS,
# define CS CS # define REG_CS REG_CS
EFL, REG_EFL,
# define EFL EFL # define REG_EFL REG_EFL
UESP, REG_UESP,
# define UESP UESP # define REG_UESP REG_UESP
SS REG_SS
# define SS SS # define REG_SS REG_SS
}; };
#endif #endif