* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of hardcoding the register number.
This commit is contained in:
parent
3a27e00009
commit
8cf03c4c87
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-11-08 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
|
||||
terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
|
||||
hardcoding the register number.
|
||||
|
||||
2001-11-07 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* gdbarch.sh (USE_STRUCT_CONVENTION): Default to
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
/* Register number for the "orig_eax" pseudo-register. If this
|
||||
pseudo-register contains a value >= 0 it is interpreted as the
|
||||
system call number that the kernel is supposed to restart. */
|
||||
#define I386_LINUX_ORIG_EAX_REGNUM 41
|
||||
#define I386_LINUX_ORIG_EAX_REGNUM (NUM_GREGS + NUM_FREGS + NUM_SSE_REGS)
|
||||
|
||||
/* Adjust a few macros to deal with this extra register. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue