This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
pending/1249: [PATCH] Fix gdbserver for sh4-linux
- From: SUGIOKA Toshinobu <sugioka at itonet dot co dot jp>
- To: gdb-gnats at sources dot redhat dot com
- Date: Sun, 22 Jun 2003 08:33:05 +0900
- Subject: pending/1249: [PATCH] Fix gdbserver for sh4-linux
>Number: 1249
>Category: pending
>Synopsis: [PATCH] Fix gdbserver for sh4-linux
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Sun Jun 22 18:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
>Description:
Hi,
Attached patch makes gdbserver working on SH-4 linux.
2003-06-22 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
* gdb/gdbserver/linux-sh-low.c (sh_regmap): Fix fpreg map.
Index: linux-sh-low.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/linux-sh-low.c,v
retrieving revision 1.4
diff -u -r1.4 linux-sh-low.c
--- linux-sh-low.c 11 Jun 2002 17:32:39 -0000 1.4
+++ linux-sh-low.c 21 Jun 2003 23:02:30 -0000
@@ -39,10 +39,10 @@
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
----
SUGIOKA Toshinobu
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: