* linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
authorDaniel Jacobowitz <drow@false.org>
Sat, 28 Jun 2003 18:41:56 +0000 (18:41 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 28 Jun 2003 18:41:56 +0000 (18:41 +0000)
SUGIOKA Toshinobu <sugioka@itonet.co.jp>.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-sh-low.c

index 636b13b2e51c75ea05a626350e3f53d6ab83a85e..e2efaa277cd9be572c423398bdd299f4e65070de 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
+       SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
+
 2003-06-20  Daniel Jacobowitz  <drow@mvista.com>
 
        * Makefile.in (SFILES): Update.
index ee84561f17cfd73f506c0d67984cd15a4f58b032..cbe2f95c47ebe6e0b8d72f5d91ef7578f36999cd 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU/Linux/SH specific low level interface, for the remote server for GDB.
-   Copyright 1995, 1996, 1998, 1999, 2000, 2001, 2002
+   Copyright 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -39,10 +39,10 @@ static int sh_regmap[] = {
  REG_MACH*4, REG_MACL*4, REG_SR*4,
  REG_FPUL*4, REG_FPSCR*4,
 
- REG_FPREG0+0,   REG_FPREG0+4,   REG_FPREG0+8,   REG_FPREG0+12,
- REG_FPREG0+16,  REG_FPREG0+20,  REG_FPREG0+24,  REG_FPREG0+28,
- REG_FPREG0+32,  REG_FPREG0+36,  REG_FPREG0+40,  REG_FPREG0+44,
- REG_FPREG0+48,  REG_FPREG0+52,  REG_FPREG0+56,  REG_FPREG0+60,
+ REG_FPREG0*4+0,   REG_FPREG0*4+4,   REG_FPREG0*4+8,   REG_FPREG0*4+12,
+ REG_FPREG0*4+16,  REG_FPREG0*4+20,  REG_FPREG0*4+24,  REG_FPREG0*4+28,
+ REG_FPREG0*4+32,  REG_FPREG0*4+36,  REG_FPREG0*4+40,  REG_FPREG0*4+44,
+ REG_FPREG0*4+48,  REG_FPREG0*4+52,  REG_FPREG0*4+56,  REG_FPREG0*4+60,
 };
 
 static int