* i386-tdep.c (i386_go32_init_abi): Use SVR4 register numbering
for stabs and COFF debug info.
This commit is contained in:
parent
0dc69033a0
commit
3d22076f96
|
@ -1,3 +1,8 @@
|
|||
2009-05-29 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* i386-tdep.c (i386_go32_init_abi): Use SVR4 register numbering
|
||||
for stabs and COFF debug info.
|
||||
|
||||
2009-05-28 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* infrun.c (handle_inferior_event): When thread hoping, switch
|
||||
|
|
|
@ -2601,6 +2601,13 @@ i386_go32_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
|||
/* DJGPP does not support the SSE registers. */
|
||||
tdep->num_xmm_regs = 0;
|
||||
set_gdbarch_num_regs (gdbarch, I386_NUM_GREGS + I386_NUM_FREGS);
|
||||
|
||||
/* Native compiler is GCC, which uses the SVR4 register numbering
|
||||
even in COFF and STABS. See the comment in i386_gdbarch_init,
|
||||
before the calls to set_gdbarch_stab_reg_to_regnum and
|
||||
set_gdbarch_sdb_reg_to_regnum. */
|
||||
set_gdbarch_stab_reg_to_regnum (gdbarch, i386_svr4_reg_to_regnum);
|
||||
set_gdbarch_sdb_reg_to_regnum (gdbarch, i386_svr4_reg_to_regnum);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue