aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-05-01 08:09:16 +0000
committerEli Zaretskii <eliz@gnu.org>2009-05-01 08:09:16 +0000
commit15430fc07a1f475c09b3136deb3ae5a39547586d (patch)
tree2a8e3643a5f70cc3e84f7caac40385e25168994c /gdb/i386-tdep.c
parentc7098c41850f0f3a076e22557fb6480476746d40 (diff)
downloadgdb-15430fc07a1f475c09b3136deb3ae5a39547586d.zip
gdb-15430fc07a1f475c09b3136deb3ae5a39547586d.tar.gz
gdb-15430fc07a1f475c09b3136deb3ae5a39547586d.tar.bz2
* i386-tdep.c (i386_go32_init_abi): Override the number of
registers due to non-support of SSE.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 55c4c6f..c2515fe 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -2597,6 +2597,10 @@ i386_go32_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
tdep->sigtramp_p = NULL;
tdep->jb_pc_offset = 36;
+
+ /* DJGPP does not support the SSE registers. */
+ tdep->num_xmm_regs = 0;
+ set_gdbarch_num_regs (gdbarch, I386_NUM_GREGS + I386_NUM_FREGS);
}