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] gdbserver for x86-64


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


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