* i386-tdep.c (i386_stab_reg_to_regnum): Return correct register
numbers for MMX registers.
This commit is contained in:
parent
eb086b5940
commit
7d12f766fa
@ -1,3 +1,8 @@
|
||||
2002-08-13 Mark Kettenis <kettenis@elgar.kettenis.dyndns.org>
|
||||
|
||||
* i386-tdep.c (i386_stab_reg_to_regnum): Return correct register
|
||||
numbers for MMX registers.
|
||||
|
||||
2002-08-13 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* i386-tdep.c (i386_gdbarch_init): Use
|
||||
|
@ -113,9 +113,7 @@ i386_stab_reg_to_regnum (int reg)
|
||||
else if (reg >= 29 && reg <= 36)
|
||||
{
|
||||
/* MMX registers. */
|
||||
/* FIXME: kettenis/2001-07-28: Should we have the MMX registers
|
||||
as pseudo-registers? */
|
||||
return reg - 29 + FP0_REGNUM;
|
||||
return reg - 29 + MM0_REGNUM;
|
||||
}
|
||||
|
||||
/* This will hopefully provoke a warning. */
|
||||
|
Loading…
Reference in New Issue
Block a user