Subject: Re: What to do about gdb mmalloc (two Ms)
To: None <cato@df.lth.se>
From: Gordon W. Ross <gwr@mc.com>
List: tech-toolchain
Date: 01/21/1998 16:10:08
> Date: Wed, 21 Jan 1998 21:27:42 +0100 (MET)
> From: Krister Walfridsson <cato@df.lth.se>
> On Tue, 20 Jan 1998, Gordon W. Ross wrote:
>
> > I've recently tried a GNU-style build of gdb and discovered
> > that I had to change gdb/Makefile.in to turn off the MMALLOC
> > support because the mmalloc sources are not there. So...
> >
> > What is the best way to fix this?
> >
> > [...]
>
> Why not change configure.in to check if/where we have mmalloc (and
> possible add usual configure-style options like --mmalloc-src-dir,
> --malloc-enable etc.) and let it create a Makefile according to
> what it finds out.
>
> That give us:
> (+) would allow normal GNU-style builds
> (+) then we don't need the mmalloc sources
> and it doesn't affect those who have mmalloc, so I think it is
> (+) suitable for submission back to the maintainers.
>
> Don't you think the gdb maintainer should accept such a patch?
>
> /Krister
Sounds like a great idea. I'm no "configure" expert, but
I guess I'll take a stab at it and report back.
Thanks,
Gordon
P.S.
This is an example of a mailing list serving its purpose!