This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6657 内存分配C语言的malloc函数



请教个问题

1. 代码在执行内存分配函数malloc过程中,不跳出来;暂停仿真器后,停在如下位置;但是单步不向下执行。

   按理说,如果堆栈空间不够,应该返回0,而不是进入死循环。

   E:\ti\ccsv6\tools\compiler\c6000_7.4.8\lib\src\memory.c