* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
[deliverable/binutils-gdb.git] / gdb / i386-linux-tdep.h
index 95b168ac88ec9fe78dbf807e921fd39dbf126563..089268ac0916e7b7a82beac112f0779214654b24 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for GNU/Linux x86.
 
-   Copyright 2002 Free Software Foundation, Inc.
+   Copyright 2002, 2003 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -33,4 +33,7 @@
    system call number that the kernel is supposed to restart.  */
 #define I386_LINUX_ORIG_EAX_REGNUM I386_SSE_NUM_REGS
 
+/* Total number of registers for GNU/Linux.  */
+#define I386_LINUX_NUM_REGS (I386_LINUX_ORIG_EAX_REGNUM + 1)
+
 #endif /* i386-linux-tdep.h */
This page took 0.024762 seconds and 4 git commands to generate.