This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix gdbserver for sh4-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]