diff options
author | Fred Fish <fnf@specifix.com> | 1996-01-04 07:23:24 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-01-04 07:23:24 +0000 |
commit | e33aefba5a547a6f61c436b47ff3a73ee275e886 (patch) | |
tree | 23b93961384a8856690ae0369e89d56bd1bb7fe5 /gdb/config | |
parent | 1aa265574776be3097eb7d8f66d73649858897b2 (diff) | |
download | gdb-e33aefba5a547a6f61c436b47ff3a73ee275e886.zip gdb-e33aefba5a547a6f61c436b47ff3a73ee275e886.tar.gz gdb-e33aefba5a547a6f61c436b47ff3a73ee275e886.tar.bz2 |
* i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
from NUM_REGS to get number of general registers that we care about.
Update copyright to 1996.
* config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
of number of general regs and number of floating point regs.
Update copyright to 1996.
Diffstat (limited to 'gdb/config')
-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. */ |