Daniel Jacobowitz wrote: > On Wed, Jul 03, 2002 at 04:40:58PM +0200, Michal Ludvig wrote: >>2002-07-03 Michal Ludvig >> >> * 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. Where is it used? It seems to be a static array without any reference from outside. > Just add *4 or *8 where appropriate as I did in the i386 file. OK, changed and committed as in the attached file. Michal Ludvig -- * SuSE CR, s.r.o * mludvig@suse.cz * +420 2 9654 5373 * http://www.suse.cz