Change register numbers to enumartion values.
authorMark Kettenis <kettenis@gnu.org>
Sun, 26 Oct 2003 13:08:57 +0000 (13:08 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 26 Oct 2003 13:08:57 +0000 (13:08 +0000)
commitbcf48cc700d1f667aba7794950664a5dd83270d1
tree13fe09de5a001a991bf077335066b017573f3b16
parente090dc6d51d2e83248fc3b52ab834383b50f48c7
Change register numbers to enumartion values.
* i386-tdep.h (enum i386_regnum): New.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): Remove defines.
* i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
I386_EDI_REGNUM): Remove defines.
gdb/ChangeLog
gdb/i386-tdep.c
gdb/i386-tdep.h