aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-sh-low.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-28 18:41:56 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-28 18:41:56 +0000
commitc8a86edf1af0792db276785e5b3b22eba39dcdba (patch)
treef821e1c1672eca6bc0918a929b7096c33f70a223 /gdb/gdbserver/linux-sh-low.c
parent48fe539ffed9373013881e2da26b2baf396c6389 (diff)
downloadfsf-binutils-gdb-c8a86edf1af0792db276785e5b3b22eba39dcdba.zip
fsf-binutils-gdb-c8a86edf1af0792db276785e5b3b22eba39dcdba.tar.gz
fsf-binutils-gdb-c8a86edf1af0792db276785e5b3b22eba39dcdba.tar.bz2
* linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
Diffstat (limited to 'gdb/gdbserver/linux-sh-low.c')
-rw-r--r--gdb/gdbserver/linux-sh-low.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/gdbserver/linux-sh-low.c b/gdb/gdbserver/linux-sh-low.c
index ee84561..cbe2f95 100644
--- a/gdb/gdbserver/linux-sh-low.c
+++ b/gdb/gdbserver/linux-sh-low.c
@@ -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