Re: [RFA]: Fix gdb.base/callfwmall.exp for platforms without malloc

Andrew Cagney
2001-06-06T09:07:00Z

> Hum... if I understand, the only good fix is to fix GDB so that it no longer
> calls 'malloc'. I would be very happy to see that fix in GDB. You cannot rely
> on a possible 'malloc'. I have two examples in mind here: 68HC11 programs
> and... ChorusOS kernel.

A patch to call sbrk() or rgnAllocate(ulgh!) et.al. instead of malloc()
would be interesting.

Andrew