From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Stephane Carrez Cc: Michael Snyder , Keith Seitz , gdb-patches@sources.redhat.com Subject: Re: [RFA]: Fix gdb.base/callfwmall.exp for platforms without malloc Date: Wed, 06 Jun 2001 09:07:00 -0000 Message-id: <3B1E468E.4050407@cygnus.com> References: <3B095A01.D85C9E5D@cygnus.com> <3B098795.1CD78B21@worldnet.fr> X-SW-Source: 2001-06/msg00069.html > 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