[patch] gdbserver for x86-64

Daniel Jacobowitz drow@mvista.com
Wed Jul 3 08:05:00 GMT 2002


On Wed, Jul 03, 2002 at 04:40:58PM +0200, Michal Ludvig wrote:
> Hi all,
> Pretty obvious one. If noone complains, I'll commit it tomorrow.
> 
> Michal Ludvig
> -- 
> * SuSE CR, s.r.o     * mludvig@suse.cz
> * +420 2 9654 5373   * http://www.suse.cz

> 2002-07-03  Michal Ludvig  <mludvig@suse.cz>
> 
> 	* gdbserver/linux-x86-64-low.c (x86_64_fill_gregset): Change type in 
> 	explicit cast to CORE_ADDR so that pointer arithmetic works.
> 	(x86_64_store_gregset): Ditto + parameter made const.
> 	(x86_64_store_fpregset): Parameter made const.

Could you change the reg_map instead, please?  It's used outside of
this file and expected to be in byte offsets.  Just add *4 or *8 where
appropriate as I did in the i386 file.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list