* linux-low.c (usr_store_inferior_registers): Transfer buf in
authorJim Blandy <jimb@codesourcery.com>
Thu, 29 May 2003 22:56:50 +0000 (22:56 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 29 May 2003 22:56:50 +0000 (22:56 +0000)
commit2ff29de43c961c76891a4fcacf929d544ae54b6b
treeaf6743b0ec404e6ec77169113f7c771209d31921
parent93ec1121ede50148a35445689eab133f4381841a
* 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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c