This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] gdbserver for x86-64
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michal Ludvig <mludvig at suse dot cz>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Wed, 3 Jul 2002 11:01:55 -0400
- Subject: Re: [patch] gdbserver for x86-64
- References: <3D230CFA.5060602@suse.cz>
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