aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-18 22:14:13 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-18 22:14:13 +0000
commitbd1ef5d285d6883228c1d3910c05c1c37eccccb6 (patch)
treea968cbb855651f2a39deb3ecdc941b6bae4be3a7 /gdb/config
parent76fb44f49a3d475d608e9fcb68391b7cbb8bb022 (diff)
downloadgdb-bd1ef5d285d6883228c1d3910c05c1c37eccccb6.zip
gdb-bd1ef5d285d6883228c1d3910c05c1c37eccccb6.tar.gz
gdb-bd1ef5d285d6883228c1d3910c05c1c37eccccb6.tar.bz2
* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
* config/i386/tm-i386.h (NUM_REGS): Delete.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/tm-i386.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h
index 7661bd8..8407057 100644
--- a/gdb/config/i386/tm-i386.h
+++ b/gdb/config/i386/tm-i386.h
@@ -124,8 +124,6 @@ extern CORE_ADDR i386_saved_pc_after_call (struct frame_info *frame);
#define NUM_SSE_REGS (0)
#endif
-#define NUM_REGS (NUM_GREGS + NUM_FREGS + NUM_SSE_REGS)
-
/* Largest number of registers we could have in any configuration. */
#define MAX_NUM_REGS (16 + 16 + 9)