[PATCH+7.12,1/1] gdb/NEWS: Mention C++ is now the default

Message ID 1470235750-14321-2-git-send-email-palves@redhat.com
State New, archived
Headers

Commit Message

Pedro Alves Aug. 3, 2016, 2:49 p.m. UTC
  gdb/ChangeLog:
yyyy-mm-dd  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that GDB and GDBserver build with a C++ compiler by
	default.
---
 gdb/NEWS | 7 +++++++
 1 file changed, 7 insertions(+)
  

Comments

Eli Zaretskii Aug. 3, 2016, 4:25 p.m. UTC | #1
> From: Pedro Alves <palves@redhat.com>
> Date: Wed,  3 Aug 2016 15:49:10 +0100
> 
> diff --git a/gdb/NEWS b/gdb/NEWS
> index 4d72027..43737cb 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -5,6 +5,13 @@
>  
>  *** Changes in GDB 7.12
>  
> +* GDB and GDBserver now build with a C++ compiler by default.
> +
> +  The --enable-build-with-cxx configure option now defaults to "yes".
> +  One must now explicitly configure with --enable-build-with-cxx=no in
> +  order to build with a C compiler.  This option will be removed in a
> +  future release.
> +
>  * GDBserver now supports recording btrace without maintaining an active
>    GDB connection.

The text is okay, but I think "./configure --help" should mention
"--disable-build-with-cxx", as it does with all the other options that
are enabled by default.
  

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index 4d72027..43737cb 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -5,6 +5,13 @@ 
 
 *** Changes in GDB 7.12
 
+* GDB and GDBserver now build with a C++ compiler by default.
+
+  The --enable-build-with-cxx configure option now defaults to "yes".
+  One must now explicitly configure with --enable-build-with-cxx=no in
+  order to build with a C compiler.  This option will be removed in a
+  future release.
+
 * GDBserver now supports recording btrace without maintaining an active
   GDB connection.