aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/i386-tdep.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 21c0fdd..7ed966f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-01 Eli Zaretskii <eliz@gnu.org>
+
+ * i386-tdep.c (i386_go32_init_abi): Override the number of
+ registers due to non-support of SSE.
+
2009-04-30 Anthony Green <green@moxielogic.com>
* configure.tgt: Link the moxie simulator in with gdb.
@@ -6,7 +11,7 @@
* elfread.c (elf_symtab_read): Don't assume .data and .rodata
are present.
-
+
2009-04-30 Hui Zhu <teawater@gmail.com>
Michael Snyder <msnyder@vmware.com>
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);
}