This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Fix gdbserver for sh4-linux
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: SUGIOKA Toshinobu <sugioka at itonet dot co dot jp>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 28 Jun 2003 14:39:06 -0400
- Subject: Re: [PATCH] Fix gdbserver for sh4-linux
- References: <4.2.0.58.J.20030622080312.025c1a70@router.itonet.co.jp>
On Sun, Jun 22, 2003 at 08:33:05AM +0900, SUGIOKA Toshinobu wrote:
> Hi,
> Attached patch makes gdbserver working on SH-4 linux.
Thanks, this is obviously correct, so I'll check it in.
> 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
>
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer