[commit] Fix latent ptrace xfer bugs

Andrew Cagney cagney@gnu.org
Thu Sep 30 15:55:00 GMT 2004


Hello,

Turned this up when testing code forcing all xfers through xfer_partial 
on i386 FC3 and PPC NetBSD (with and with out PT_IO enabled):

- a memory write was turned into a NOP (wrong buffer)

- the code was doing a full, instead of partial, transfer

For infptrace, I've hacked around the first problem.  For inf-ptrace.c I 
rewrote the code fixing both problems.

committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040930/30fbfb2e/attachment.ksh>


More information about the Gdb-patches mailing list