[ECOS] Re: save heap contents

2005-11-29 Thread R S
To add to my previous question, one way of doing it is using sbrk(0) to locate current heap pointer at any time and use it to copy the heap contents , however as memory is sbrked only once in eCos (dlmalloc impl), this is not possible. So I am looking at alternate ways to accomplish the heap

Re: [ECOS] Re: save heap contents

2005-11-29 Thread Andrew Lunn
On Wed, Nov 30, 2005 at 08:49:41AM -, R S wrote: To add to my previous question, one way of doing it is using sbrk(0) to locate current heap pointer at any time and use it to copy the heap contents , however as memory is sbrked only once in eCos (dlmalloc impl), this is not possible. So I