This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Build GDB as a C++ program by default
- From: Pedro Alves <palves at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 20 Apr 2016 22:21:57 -0000
- Subject: [binutils-gdb] Build GDB as a C++ program by default
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a23585089d7ba710b238d3d1ab3d34320afa48d0
commit a23585089d7ba710b238d3d1ab3d34320afa48d0
Author: Pedro Alves <palves@redhat.com>
Date: Wed Apr 20 23:20:15 2016 +0100
Build GDB as a C++ program by default
This makes --enable-build-with-cxx be "yes" by default.
One must now configure with --enable-build-with-cxx=no in order to
build with a C compiler.
gdb/ChangeLog:
2016-04-20 Pedro Alves <palves@redhat.com>
* build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Default to yes.
* configure: Renegerate.
gdb/gdbserver/ChangeLog:
2016-04-20 Pedro Alves <palves@redhat.com>
* configure: Renegerate.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/build-with-cxx.m4 | 2 +-
gdb/configure | 2 +-
gdb/gdbserver/ChangeLog | 4 ++++
gdb/gdbserver/configure | 2 +-
5 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9dec801..30a306c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2016-04-20 Pedro Alves <palves@redhat.com>
+ * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Default to yes.
+ * configure: Renegerate.
+
+2016-04-20 Pedro Alves <palves@redhat.com>
+
* darwin-nat.c (darwin_decode_message): Use gdb_signal_from_host.
2016-04-20 Pedro Alves <palves@redhat.com>
diff --git a/gdb/build-with-cxx.m4 b/gdb/build-with-cxx.m4
index 6eb9143..6077278 100644
--- a/gdb/build-with-cxx.m4
+++ b/gdb/build-with-cxx.m4
@@ -29,7 +29,7 @@ AC_DEFUN([GDB_AC_BUILD_WITH_CXX],
*)
AC_MSG_ERROR([bad value $enableval for --enable-build-with-cxx]) ;;
esac],
- [enable_build_with_cxx=no])
+ [enable_build_with_cxx=yes])
if test "$enable_build_with_cxx" = "yes"; then
COMPILER='$(CXX)'
diff --git a/gdb/configure b/gdb/configure
index 8c2ec0f..3cf95e7 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -4965,7 +4965,7 @@ if test "${enable_build_with_cxx+set}" = set; then :
as_fn_error "bad value $enableval for --enable-build-with-cxx" "$LINENO" 5 ;;
esac
else
- enable_build_with_cxx=no
+ enable_build_with_cxx=yes
fi
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index c290130..029205d 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2016-04-20 Pedro Alves <palves@redhat.com>
+
+ * configure: Renegerate.
+
2016-04-20 Yao Qi <yao.qi@linaro.org>
* linux-aarch32-low.c: Include "arch/arm-linux.h".
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index 2082335..746218e 100755
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
@@ -4784,7 +4784,7 @@ if test "${enable_build_with_cxx+set}" = set; then :
as_fn_error "bad value $enableval for --enable-build-with-cxx" "$LINENO" 5 ;;
esac
else
- enable_build_with_cxx=no
+ enable_build_with_cxx=yes
fi