This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Add support for --enable-lmcheck configure option.


Hi Joel,

On Mon, 11 Jun 2012 22:38:47 +0200, Joel Brobecker wrote:
> This allows the user to enable this option at configure time if building
> a release,
[...]
> It might be useful
> later on, when debugging memory problems on a release version of GDB.

this is bloating the configure script + configure help.  Just use:
	LDFLAGS=-lmcheck ./configure ...


> I don't think I'll personally use the --disable-libmcheck on a snapshot,
> but someone distributing a snaphot version might enjoy it too.

Yes:
	http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=blob_plain;f=gdb-disable-mcheck.patch;hb=master

But I do not find it so important to make a configure option to it.


> OK?

Given that --disable-libmcheck for snapshot may make some sense I do not
oppose it but I do not think it is worth it, it is a corner case where one can
edit configure or Makefile IMO.

I understand the reason is to workaround current GDB bugs exposed by -lmcheck.
This is sure not the right solution.


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]