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]

[commit#2] [RFC patch] non-release srctrees: --enable-targets=all & 64bit & -lmcheck


On Fri, 01 Jun 2012 20:21:35 +0200, Jan Kratochvil wrote:
> http://sourceware.org/ml/gdb-cvs/2012-06/msg00005.html
> 
> --- src/gdb/ChangeLog	2012/06/01 16:37:56	1.14309
> +++ src/gdb/ChangeLog	2012/06/01 18:20:16	1.14310
> @@ -1,3 +1,11 @@
> +2012-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
> +
> +	* configure.ac (development): Define new variable.
> +	Call AC_CHECK_LIB for mcheck if $development.
> +	(ERROR_ON_WARNING): Enable it by default only if $development.
> +	* config.in: Regenerate.
> +	* configure: Regenerate.

I have found accidentally the 'configure' part does not contain
the 'development=true' statement.  Currently it works as if it was set but it
could not be disabled after 7.5 stable branching.

Checked in.


Sorry,
Jan


http://sourceware.org/ml/gdb-cvs/2012-06/msg00047.html

--- src/gdb/ChangeLog	2012/06/06 06:04:42	1.14330
+++ src/gdb/ChangeLog	2012/06/06 16:57:34	1.14331
@@ -1,3 +1,8 @@
+2012-06-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* configure.ac: Move development=true below AC_INIT.
+	* configure: Regenerate.
+
 2012-06-05  Stan Shebs  <stan@codesourcery.com>
 
 	* mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from
--- src/gdb/configure	2012/06/01 18:20:18	1.366
+++ src/gdb/configure	2012/06/06 16:57:36	1.367
@@ -2683,6 +2683,11 @@
 
 
 
+# Provide more thorough testing by -lmcheck.
+# Set it to 'true' for development snapshots, 'false' for releases or
+# pre-releases.
+development=true
+
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
--- src/gdb/configure.ac	2012/06/01 18:20:18	1.177
+++ src/gdb/configure.ac	2012/06/06 16:57:38	1.178
@@ -18,16 +18,16 @@
 
 dnl Process this file with autoconf to produce a configure script.
 
-dnl Provide more thorough testing by -lmcheck.
-dnl Set it to 'true' for development snapshots, 'false' for releases or
-dnl pre-releases.
-development=true
-
 AC_PREREQ(2.59)dnl
 AC_INIT(main.c)
 AC_CONFIG_HEADER(config.h:config.in)
 AM_MAINTAINER_MODE
 
+# Provide more thorough testing by -lmcheck.
+# Set it to 'true' for development snapshots, 'false' for releases or
+# pre-releases.
+development=true
+
 AC_PROG_CC
 AC_USE_SYSTEM_EXTENSIONS
 ACX_LARGEFILE


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