RFA: Linux gdbserver: store register values with proper type

Daniel Jacobowitz drow@mvista.com
Thu May 29 15:29:00 GMT 2003


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



More information about the Gdb-patches mailing list