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: RFA: Linux gdbserver: store register values with proper type


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


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