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]

Re: [RFA] target.c: target_xfer_memory_partial() returns byte count


>>>>> "jtc" == J T Conklin <jtc@redback.com> writes:
>>>>> "Nick" == Nick Duffek <nsd@redhat.com> writes:
Nick> It looks like target_xfer_memory_partial() got broken in a recent patch.
Nick> Okay to apply this fix?

jtc> My bad.  The fix looks correct.

But It's worse than I thought.

The change I committed didn't remove the code that transfer all the
memory when I cut-n-pasted to create do_xfer_memory() from the guts of
target_xfer_memory().  So at the moment, target_xfer_memory_partial()
transfers the entire region.  

I'll submit a patch to fix this botch tomorrow.

        --jtc

-- 
J.T. Conklin
RedBack Networks

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