aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-06-15 12:59:09 +0000
committerMark Kettenis <kettenis@gnu.org>2002-06-15 12:59:09 +0000
commit1cf88de5c58d1400451fe01135e975e9a0a21921 (patch)
tree8f0dc68f7387bd17136911db10bec54be54b510e /gdb/config
parentdaa665871df2a3a60b5c5c65699a58deacc63be5 (diff)
downloadgdb-1cf88de5c58d1400451fe01135e975e9a0a21921.zip
gdb-1cf88de5c58d1400451fe01135e975e9a0a21921.tar.gz
gdb-1cf88de5c58d1400451fe01135e975e9a0a21921.tar.bz2
* config/i386/tm-i386.h (MAX_NUM_REGS): Removed.
* i386-tdep.c (i386_register_offset, i386_register_size): Use I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of elements in these arrays. (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of MAX_NUM_REGS.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/tm-i386.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h
index 0ea151b..3438351 100644
--- a/gdb/config/i386/tm-i386.h
+++ b/gdb/config/i386/tm-i386.h
@@ -93,9 +93,6 @@ extern int i386_skip_prologue (int);
#define NUM_SSE_REGS (0)
#endif
-/* Largest number of registers we could have in any configuration. */
-#define MAX_NUM_REGS (16 + 16 + 9 + 1)
-
/* Register numbers of various important registers.
Note that some of these values are "real" register numbers,
and correspond to the general registers of the machine,