aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-04-20 23:20:15 +0100
committerPedro Alves <palves@redhat.com>2016-04-20 23:20:15 +0100
commita23585089d7ba710b238d3d1ab3d34320afa48d0 (patch)
treebcec1e873a6543f9f07e97781078d04928c08f07
parent5ae0055212a4835793815dbd8fa120d8c63fc7e8 (diff)
downloadgdb-a23585089d7ba710b238d3d1ab3d34320afa48d0.zip
gdb-a23585089d7ba710b238d3d1ab3d34320afa48d0.tar.gz
gdb-a23585089d7ba710b238d3d1ab3d34320afa48d0.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/build-with-cxx.m42
-rwxr-xr-xgdb/configure2
-rw-r--r--gdb/gdbserver/ChangeLog4
-rwxr-xr-xgdb/gdbserver/configure2
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