diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-11-08 00:03:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-11-08 00:03:52 +0000 |
commit | 8cf03c4c872abfc39d15105c888fe62ed71329dc (patch) | |
tree | 842eb4116cdaabec75e586ab02954aa374aca746 /gdb/config | |
parent | 3a27e00009c60043fee351117419f64f7f4bb9ff (diff) | |
download | gdb-8cf03c4c872abfc39d15105c888fe62ed71329dc.zip gdb-8cf03c4c872abfc39d15105c888fe62ed71329dc.tar.gz gdb-8cf03c4c872abfc39d15105c888fe62ed71329dc.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/tm-linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/i386/tm-linux.h b/gdb/config/i386/tm-linux.h index 25d9782..820ac8b 100644 --- a/gdb/config/i386/tm-linux.h +++ b/gdb/config/i386/tm-linux.h @@ -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. */ |