This is the mail archive of the gdb-patches@sourceware.org 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: Flash support part 2: flash programming


On Tue, Aug 01, 2006 at 05:20:12PM +0400, Vladimir Prus wrote:
> I think I've missed that email. Yes, for a flash code having 
> target_write_with_progress is more convenient. The trick is, and still was, 
> to propagate callbacks all the way along the all codepaths, including writing 
> memory via xfer_using_stratum and writing target objects via to_xfer_partial.
> 
> For the case at hand, flash code knows it will only be writing to target 
> object, so it can directly call target_write_partial. That's why I took this 
> route. 

Right.  Let me see what I can come up with.

-- 
Daniel Jacobowitz
CodeSourcery


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