This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: New target method returning the name of the malloc function?
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Pierre Muller <muller at cerbere dot u-strasbg dot fr>, Joel Brobecker <brobecker at gnat dot com>, gdb-patches at sources dot redhat dot com
- Date: Fri, 6 Sep 2002 09:14:22 -0700
- Subject: Re: New target method returning the name of the malloc function?
- References: <4.2.0.58.20020906091206.021019b8@ics.u-strasbg.fr>
On Sep 6, 9:17am, Pierre Muller wrote:
> >May I suggest a new architecture method called for instance
> >NAME_OF_MALLOC or MALLOC_FUNCTION_NAME? The default would be to return
> >"malloc", but we could then change it to "_malloc" for the interix
> >target.
> That would be great !
> Because Pascal also does not define malloc...
This would suggest that something other than a target dependent method
is needed. (It seems to me that it's both target and language dependent.)
Kevin