On Wed, Dec 16, 2009 at 9:36 PM, Thomas Kindler <mail+...@t-kindler.de> wrote:
> Carsten Breuer wrote:
>>>> The first thing i had to learn was, that it is verry uncommon in
>>>> OpenOCD to check the result of malloc.
>  >>>
>>> This is a known problem where we gladly accept patches to fix each
>>> case.
>>
>> OK, then i will start to fix all the mallocs
>> that are handled not correct yet and where
>> i understand what to do if they fail.
>
> On a normal, modern operating system, (reasonably sized) mallocs should
> never fail, as the system will start thrashing and killing off processes
> long before malloc() fails.
>
> (This will be a different story for the Zy1000, of course..)

The zy1000 has "infinite" ram w.r.t. small allocations(32 or
64mBytes depending on revision), so not checking small
allocations is *highly unlikely * to cause problems for any
embedded host with oodles of ram(megabytes).

-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to