From: Eli Zaretskii Date: Fri, 1 May 2009 08:09:16 +0000 (+0000) Subject: * i386-tdep.c (i386_go32_init_abi): Override the number of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15430fc07a1f475c09b3136deb3ae5a39547586d;p=binutils-gdb.git * i386-tdep.c (i386_go32_init_abi): Override the number of registers due to non-support of SSE. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 21c0fdd1ad3..7ed966f7ed7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-05-01 Eli Zaretskii + + * i386-tdep.c (i386_go32_init_abi): Override the number of + registers due to non-support of SSE. + 2009-04-30 Anthony Green * 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 Michael Snyder diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 55c4c6f561b..c2515fe84cb 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); }