This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Fix gdb.base/callfwmall.exp for platforms without malloc
- To: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Subject: Re: [RFA]: Fix gdb.base/callfwmall.exp for platforms without malloc
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 06 Jun 2001 11:04:46 -0400
- Cc: Michael Snyder <msnyder at cygnus dot com>,Keith Seitz <keiths at cygnus dot com>, gdb-patches at sources dot redhat dot com
- References: <Pine.GSO.4.33.0105211053000.16834-100000@ryobi.cygnus.com> <3B095A01.D85C9E5D@cygnus.com> <3B098795.1CD78B21@worldnet.fr>
> 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