diff options
Diffstat (limited to 'gdb/config/i386/tm-i386.h')
-rw-r--r-- | gdb/config/i386/tm-i386.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h index 819735c..8f8090b 100644 --- a/gdb/config/i386/tm-i386.h +++ b/gdb/config/i386/tm-i386.h @@ -1,5 +1,5 @@ /* Macro definitions for GDB on an Intel i[345]86. - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. This file is part of GDB. @@ -115,10 +115,9 @@ extern int i386_skip_prologue PARAMS ((int)); #define FPC_REGNUM 25 /* 80387 control register */ /* Total amount of space needed to store our copies of the machine's register - state, the array `registers'. Default is 16 i*86 registers and 8 floating - point registers. */ + state, the array `registers'. */ -#define REGISTER_BYTES (16*4 + 8*10) +#define REGISTER_BYTES ((NUM_REGS - NUM_FREGS)*4 + NUM_FREGS*10) /* Index within `registers' of the first byte of the space for register N. */ |