This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Linux gdbserver: store register values with proper type
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 29 May 2003 11:29:50 -0400
- Subject: Re: RFA: Linux gdbserver: store register values with proper type
- References: <vt24r3efer6.fsf@zenia.red-bean.com>
On Thu, May 29, 2003 at 01:28:29AM -0500, Jim Blandy wrote:
>
> 2003-05-29 Jim Blandy <jimb@redhat.com>
>
> * linux-low.c (usr_store_inferior_registers): Transfer buf in
> PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise,
> if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing
> away part of the register's value.
This is almost OK. Could you correct the other int reference in the
same block?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer